ZITADEL Docs
APIsCore ResourcesV1Organization Objects

Set Organization Metadata

Deprecated: use organization service v2 SetOrganizationMetadata instead.

This endpoint either adds or updates a metadata value for the requested key. Make sure the value is base64 encoded.

POST
/metadata/{key}

Path Parameters

key*string

Request Body

application/json

value?string
Formatbyte
[key: string]?never

Response Body

application/json

curl -X POST "https://loading/metadata/string" \  -H "Content-Type: application/json" \  -d '{}'
{
  "details": {
    "sequence": 0,
    "creationDate": "2023-01-15T01:30:15.01Z",
    "changeDate": "2023-01-15T01:30:15.01Z",
    "resourceOwner": "string"
  }
}

Was this page helpful?