API reference · Organizations
org management assignments replace
PUT/v1/orgs/{org}/management/links/{link}/assignments/{assignment}
- Permission
org.organization.read- Audit log
org.management_assignment.write- Operation
org.management.assignments.replace
Parameters
| Name | In | Type | Required | Notes |
|---|
org | path | string | yes | for example "org_01h455vb4pex5vsknk084sn02q" |
link | path | string | yes | for example "mlink_01h455vb4pex5vsknk084sn02q" |
assignment | path | string | yes | for example "masg_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 |
|---|
expectedRevision | string | yes | Opaque revision: dot-joined counters. |
permissions | array of string | yes | 1 to 35 items |
Response 200
| Field | Type | Required | Notes |
|---|
assignmentId | string | yes | for example "masg_01h455vb4pex5vsknk084sn02q" |
linkId | string | yes | for example "mlink_01h455vb4pex5vsknk084sn02q" |
providerOrgId | string | yes | for example "org_01h455vb4pex5vsknk084sn02q" |
customerOrgId | string | yes | for example "org_01h455vb4pex5vsknk084sn02q" |
userId | string | yes | for example "user_01h455vb4pex5vsknk084sn02q" |
permissions | array of string | yes | 1 to 100 items |
createdAt | string (date-time) | yes | UTC, ISO 8601. |