ZITADEL Docs
APIsCore ResourcesV2Settings

SetOrganizationSettings

Set Organization Settings

Sets the settings specific to an organization. Organization scopes usernames defines that the usernames have to be unique in the organization scope, can only be changed if the usernames of the users are unique in the scope.

Required permissions:

  • iam.policy.write
POST
/v2/settings/organization

Request Body

application/json

organizationId?string

Organization ID in which this settings are set.

organizationScopedUsernames?boolean

Force the usernames in the organization to be unique, only possible to set if the existing users already have unique usernames in the organization context.

[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://loading/v2/settings/organization" \  -H "Content-Type: application/json" \  -d '{}'
{
  "setDate": "1s"
}
{
  "code": "not_found",
  "message": "string",
  "detail": {
    "type": "string",
    "value": "string",
    "debug": {}
  }
}

Was this page helpful?