v11

latestOpenAPI 3.1.12026-08-03174162.0 MB
Permission Scopes

List permission scopes with cursor-based pagination

Returns permission scopes for a specific team member with cursor pagination. Can filter by kind (PROMOTER or VENUE).

get/teams/{key}/members/{memberId}/permission-scopes

Path parameters

keystring required
memberIdstring required

Query parameters

teamMemberIdstring

Filter by team member ID

userIdstring

Filter by user ID

kind'PROMOTER' | 'VENUE'

Filter by scope kind (PROMOTER or VENUE)

promoterIdstring

Filter by promoter ID (only for kind=PROMOTER scopes)

venueIdstring

Filter by venue ID (only for kind=VENUE scopes)

limitinteger

Maximum number of permission scopes to return per request (1-100, default: 20)

Example:20
cursorstring

Pagination cursor from previous response. Used to fetch next page of results

Response

OK

beforestring nullable

Cursor for navigating backward in the result set. Omitted when there are no prior results.

afterstring nullable

Cursor for navigating forward in the result set. Omitted when there are no subsequent results.

limitnumber required

Maximum number of items to return in each result set

Example response

{
  "items": [
    {
      "permissions": [
        "team.read"
      ]
    }
  ],
  "before": "eyJ2ZXJzaW9uIjoxLCJpbnRlbnQiOnsic291cmNlIjoiZGVtbyJ9LCJwb3MiOnsicHJpbWFyeUtleSI6InBybV8wMXM4NTNqIn19",
  "after": "eyJ2ZXJzaW9uIjoxLCJpbnRlbnQiOnsic291cmNlIjoiZGVtbyJ9LCJwb3MiOnsicHJpbWFyeUtleSI6InBybV8wMXM4NTNkIn19",
  "limit": 20
}