Permission Scopes

Delete a permission scope

Changed on

Remove a permission scope. Team member will revert to lower-tier permissions for the affected resource.

delete/teams/{key}/members/{memberId}/permission-scopes/{id}

Request

  • Base URL
    https://api.session.services
  • Auth
    API key in header x-tenant-id

Path parameters

key, string required
memberId, string required
id, string required

Unique identifier for the permission scope

Response

OK

union required

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.

object required

PROMOTER-specific permission scope. Applies to all events by the specified promoter.

OR
object required

VENUE-specific permission scope. Applies to all events at the specified venue.

Example response

{
  "permissions": [
    "team.read"
  ]
}

Changes

    • breaking

      added the pattern ^psc_[0-9a-z]{26}$ to the path request parameter id

    • info

      added subschema #1 subschema #2 to the response body anyOf list for the response status

    • info

      removed subschema #1 subschema #2 from the response body anyOf list for the response status