Skip to Content
ZITADEL Docs
APIsCore ResourcesV2Settings

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
  1. body
organizationId?organization_id

Organization ID in which this settings are set.

organizationScopedUsernames?|

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.

Response Body

Success

application/json
  1. response
setDate?set_date

The timestamp of the set of the organization settings.

Formatdate-time
Example Request
curl -X POST 'https://example.com/v2/settings/organization' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response200
{  "setDate": "2023-01-15T01:30:15.01Z"}

Was this page helpful?