Docs
Add Grant
POST /grants
POST
/grantsGives a person or API key access at one context: access roles, direct permissions (feature.verb valid at the context), or admin of it. Adds to what they hold. 403 when the caller lacks Access.Manage there or does not hold what they are granting; 400 when the grantee cannot use it (not on the event's crew, no Org license, or a license such as Event Pass missing), with the reason.
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| granteeType | string | Optional | |
| granteeId | uuid | Optional | |
| contextType | string | Optional | |
| contextId | uuid | Optional | |
| accessRoleIds | uuid[] | Optional | |
| permissions | string[] | Optional | |
| isAdmin | boolean | Optional |