Update a permission scope
Changed onUpdate an existing permission scope. Only the permissions array can be modified.
Request
- Base URLhttps://api.session.services
- AuthAPI key in header x-tenant-id
Path parameters
Request body
Scoped permissions. Can be empty array to remove all access. Replaces lower-tier permissions based on kind (VENUE overrides PROMOTER overrides BASE).
Optional role IDs to apply at this scope.
Example request
{
"permissions": [
"team.read"
]
}Response
OK
Permission scope for a team member. Can be PROMOTER-specific (applies to all events by that promoter) or VENUE-specific (applies to all events at that venue). Replaces lower-tier permissions using REPLACE semantics.
PROMOTER-specific permission scope. Applies to all events by the specified promoter.
VENUE-specific permission scope. Applies to all events at the specified venue.
Example response
{
"permissions": [
"team.read"
]
}Changes
- breaking
added the pattern
^-?(?:\*|(?:[a-z][a-z0-9-]*)(?:\.[a-z][a-z0-9-]*)*(?:\.\*|\.bypass|\.[a-z]{3}_[0-9a-z]{26})?)$to the request propertypermissions/items - info
added
subschema #1subschema #2to the response bodyanyOflist for the response status - info
removed
subschema #1subschema #2from the response bodyanyOflist for the response status
- breaking