> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ariacompute.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Registration Setting

> Admin toggle for self-registration on Aria Compute ROUTER.

Admins toggle whether the instance allows self-registration. Requires the admin role.

## Endpoint

```http theme={null}
PUT /v1/router/settings/allow_register
```

## Authentication

Authenticate with a session cookie or `Authorization: Bearer <api-key>`; the caller must have the admin role.

## Request body

**allow\_register** `boolean` *required*

Whether to open self-registration.

## Response

**ok** `boolean`

Whether the operation succeeded.

**allow\_register** `boolean`

The updated toggle state.

## Example

```bash theme={null}
curl -X PUT https://router.example.com/v1/router/settings/allow_register \
  -H "Authorization: Bearer <api-key>" \
  -d '{"allow_register": true}'
```

```json theme={null}
{ "ok": true, "allow_register": true }
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.