POST /_system/entity/domains
Add a new domain to the entity (requires setting_manage_domains permission)
Add a new domain to the entity (requires setting_manage_domains permission)
| Key | Type | Example | Description |
|---|---|---|---|
| authorizationrequired | string | | Access token |
| Key | Type | Example | Description |
|---|---|---|---|
| nameoptional | string | | Domain name |
| template_loginoptional | string | | |
| template_passwordresetoptional | string | | |
| template_passwordreset_emailoptional | string | | |
| template_securityoptional | string | |
{
"message": "ok"
}{
"error": "ERROR"
}| Status | Error Code | Description |
|---|---|---|
400 | ERROR | Domain name already exists |
401 | INVALID_ACCESS_TOKEN | Authentication required or invalid token |
| Permission | Description |
|---|---|
Bearer token | Access token required via Authorization header, x-authtoken, x-token, query param, or cookie |
entity_create | Required scope: entity_create |
Back to Entity Management Return to the Entity Management category to view other endpoints All API Categories Browse all available API categories
