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
Whether to open self-registration.
Response
Whether the operation succeeded.
The updated toggle state.
Example