API reference · Organizations
Rename an organization
PATCH/v1/orgs/{org}
- Permission
org.organization.update- Audit log
org.organization.update- Operation
org.organizations.update
Parameters
| Name | In | Type | Required | Notes |
|---|
org | path | string | yes | for example "org_01h455vb4pex5vsknk084sn02q" |
Idempotency-Key | header | string | no | One key per intended mutation. A retry with the key replays the recorded response instead of executing again; the key with another request answers 422 idempotency_key_reused. For example "01h455vb4pex5vsknk084sn02q" |
x-obhut-management-assignment | header | string | no | Select one staff assignment. Direct membership remains the default. Bound API tokens use their stored source and ignore this selector. For example "masg_01h455vb4pex5vsknk084sn02q" |
Request body
| Field | Type | Required | Notes |
|---|
name | string | yes | 1 to 100 characters |
Response 200
| Field | Type | Required | Notes |
|---|
id | string | yes | for example "org_01h455vb4pex5vsknk084sn02q" |
name | string | yes | 1 to 100 characters |
createdAt | string (date-time) | yes | UTC, ISO 8601. |
suspension | object or null | yes | |
suspension.since | string (date-time) | yes | UTC, ISO 8601. |
suspension.reason | string | yes | |