Update organization
Update organization details by ID with the given data.
Path parameters
-
The unique identifier of the organization.
Body Required
-
tenantId string
Maximum length is
21
. -
id string
Minimum length is
1
, maximum length is21
. -
name string
The updated name of the organization.
Minimum length is
1
, maximum length is128
. -
description string | null
The updated description of the organization.
Maximum length is
256
. -
customData object
arbitrary
-
isMfaRequired boolean
-
branding object
-
createdAt number
PATCH /api/organizations/{id}
curl \
-X PATCH https://[tenant_id].logto.app/api/organizations/{id} \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"tenantId":"string","id":"string","name":"string","description":"string","customData":{},"isMfaRequired":true,"branding":{"logoUrl":"string","darkLogoUrl":"string","favicon":"string","darkFavicon":"string"},"createdAt":42.0}'
Request examples
{
"tenantId": "string",
"id": "string",
"name": "string",
"description": "string",
"customData": {},
"isMfaRequired": true,
"branding": {
"logoUrl": "string",
"darkLogoUrl": "string",
"favicon": "string",
"darkFavicon": "string"
},
"createdAt": 42.0
}
Response examples (200)
{
"tenantId": "string",
"id": "string",
"name": "string",
"description": "string",
"customData": {},
"isMfaRequired": true,
"branding": {
"logoUrl": "string",
"darkLogoUrl": "string",
"favicon": "string",
"darkFavicon": "string"
},
"createdAt": 42.0
}