Docs

Add Grant

POST /grants

POST/grants

Gives 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

FieldTypeRequiredDescription
granteeTypestringOptional
granteeIduuidOptional
contextTypestringOptional
contextIduuidOptional
accessRoleIdsuuid[]Optional
permissionsstring[]Optional
isAdminbooleanOptional