ZITADEL Docs
APIsCore ResourcesV2Organization

SetOrganizationMetadata

Set Organization Metadata

Adds or updates a metadata value for the requested key. Make sure the value is base64 encoded.

Required permission:

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

Path Parameters

organization_id*string

Organization ID is the unique identifier of the organization whose metadata is to be set.

Request Body

application/json

metadata?

Metadata is a list of metadata entries to set.

[key: string]?never

Response Body

application/json

application/json

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

Was this page helpful?