API reference · Organizations
org management offers create
POST/v1/orgs/{org}/management/offers
- Permission
org.organization.read- Audit log
org.management_offer.create- Operation
org.management.offers.create
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 never executes twice; its response carries a secret and is not replayed: a duplicate answers 409 idempotency_outcome_committed. 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 |
|---|
customerOrgId | string | yes | for example "org_01h455vb4pex5vsknk084sn02q" |
permissions | array of string | yes | 1 to 35 items |
Response 201
| Field | Type | Required | Notes |
|---|
id | string | yes | for example "moffer_01h455vb4pex5vsknk084sn02q" |
customerOrgId | string | yes | for example "org_01h455vb4pex5vsknk084sn02q" |
providerOrgId | string | yes | for example "org_01h455vb4pex5vsknk084sn02q" |
permissions | array of string | yes | 1 to 100 items |
createdBy | string | yes | for example "user_01h455vb4pex5vsknk084sn02q" |
createdAt | string (date-time) | yes | UTC, ISO 8601. |
expiresAt | string (date-time) | yes | UTC, ISO 8601. |
revokedAt | string (date-time) or null | yes | |
expired | boolean | yes | |
consumed | boolean | yes | |
secret | string | yes | |