ZITADEL Docs
APIsCore ResourcesV2Organization

UpdateOrganization

Update Organization

Change the name of the organization.

Required permission:

  • org.write
POST
/v2/organizations/{organization_id}

Path Parameters

organization_id*string

OrganizationID is the unique identifier of the organization to be updated.

Request Body

application/json

name*string

Name is the new name for the organization to be set. Note that since the name is used to generate the organization's default domain, changing the name will also change the domain. Additionally, if the domain is used as suffix for user logins, their login names will also change accordingly. It will not affect any organization domains added to the organization.

[key: string]?never

Response Body

application/json

application/json

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

Was this page helpful?