Update a team member's roles
Changed onUpdate an existing active team member. Team key can be ID or slug. Replaces role assignments. Cannot modify isOwner (use transfer endpoint instead).
Request
- Base URLhttps://api.session.services
- AuthAPI key in header x-tenant-id
Path parameters
Request body
Team member ID to update
Replace role assignments for this team member with the provided role IDs.
Whether this team member is an owner of the team
Optional promoter access assignment. Omit to update only role assignments.
Response
OK
Active team member with base permissions. Permissions can be overridden per promoter or venue. Created when a user accepts an invitation or is directly added to a team.
Example response
{
"member": {
"permissions": [
"event.read",
"event.write",
"order.read"
]
}
}Changes
- breaking
the
access/promoterIds/anyOf[subschema #1]request property's minItems was increased to1 - breaking
the
roleIdsrequest property's minItems was increased to1 - breaking
added the pattern
^pmt_[0-9a-z]{26}$to the request propertyaccess/promoterIds/anyOf[subschema #1]/items
6 more changes in this revision
- breaking