grants
Permission grants.
List grants (E18)
Live grants of the acting customer, optionally filtered by team_id. A
team_id from another customer is 404, not an empty page (API-66).
query Parameters
cursorOpaque base64url keyset cursor over (created_at, id) descending. A
cursor that does not decode is 422 (API-39, API-40).
limitPage size. A value above the maximum is 422, never a silent clamp (API-38).
team_idFilter to grants held by one team of the acting customer.
List grants (E18) › Responses
Create a grant (E19)
Subject to the no-escalation rule: 403 escalation-rejected when the
actor does not already hold the permission being granted (PR-16,
API-64, API-65).
Headers
Idempotency-KeyClient-generated UUIDv4. Optional in M0 (API-44). A repeat with the
same key and body returns the stored response; a repeat with a different
body is 409 idempotency-conflict (API-42).
Create a grant (E19) › Request Body
permissionSix colon-separated positions (PG-).
team_idCreate a grant (E19) › Responses
The grant was created.
created_atcreated_by_user_ididpermissionregistered_sets_versionThe noun-registry version captured at creation (TM-47).
team_idRevoke a grant (E20)
Soft-deletes and bumps the epoch before returning. Grants are never
updated in place (TM-34, API-67).
path Parameters
grant_idHeaders
Idempotency-KeyClient-generated UUIDv4. Optional in M0 (API-44). A repeat with the
same key and body returns the stored response; a repeat with a different
body is 409 idempotency-conflict (API-42).
Revoke a grant (E20) › Responses
The grant was revoked. No body.