Reject direct admin creation.
POST
/api/admin/admins
Code sample: Shell / cURL
curl --request POST \ --url https://auth.example.com/api/admin/admins \ --header 'Authorization: Bearer <token>'Direct Admin creation is disabled. Use the Admin invitation endpoint so the recipient must register and verify a Passkey before the account becomes active.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Header Parameters
Section titled “Header Parameters ” X-Tenant-Id
string
Tenant selector for multi-tenant admin requests.
Responses
Section titled “ Responses ”Error response.
Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{ "error": "example", "message": "example", "error_description": "example"}