Skip to main content
Admins toggle whether the instance allows self-registration. Requires the admin role.

Endpoint

Authentication

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

Request body

boolean
required
Whether to open self-registration.

Response

boolean
Whether the operation succeeded.
boolean
The updated toggle state.

Example