Permission Scopes
List permission scopes with cursor-based pagination
Changed onReturns permission scopes for a specific team member with cursor pagination. Can filter by kind (PROMOTER or VENUE).
get/teams/{key}/members/{memberId}/permission-scopes
Request
- Base URL: https://api.session.services
- URL: https://api.session.services/teams/{key}/members/{memberId}/permission-scopes
- Auth: API key in header x-tenant-id
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
Example response
{
"items": [
{
"permissions": [
"team.read"
]
}
],
"before": "eyJ2ZXJzaW9uIjoxLCJpbnRlbnQiOnsic291cmNlIjoiZGVtbyJ9LCJwb3MiOnsicHJpbWFyeUtleSI6InBybV8wMXM4NTNqIn19",
"after": "eyJ2ZXJzaW9uIjoxLCJpbnRlbnQiOnsic291cmNlIjoiZGVtbyJ9LCJwb3MiOnsicHJpbWFyeUtleSI6InBybV8wMXM4NTNkIn19",
"limit": 20
}Changes
- info
added the non-success response with the status
- info