Upsert assignments
Batched create-or-update of capability assignments. Existing assignments matched by (entityId, capabilityId) are updated; new pairs are created. On update, omitted fields (usageLimit, cadence) are preserved; on create both are required by the governance service.
Authorizations
Server API Key
Headers
Account ID — optional when authenticating with a user JWT (Bearer token); falls back to the user's first membership. Ignored for API-key auth.
Environment ID — required when authenticating with a user JWT (Bearer token) on environment-scoped endpoints. Ignored for API-key auth (env is intrinsic to the key).
Path Parameters
The customer identifier (owner) the assignments belong to
1 - 255^[a-zA-Z0-9][a-zA-Z0-9_|.@-]*$Body
Request body for creating or updating capability assignments in bulk for a single customer
Assignments to upsert (1–100 per request)
1 - 100 elementsResponse
Assignments after upsert.
Assignments after upsert.
