Add an existing user to a team
Changed onDirectly add an existing user to a team. Team key can be ID or slug. Requires at least one role ID. To invite a new user by email, use the team invites endpoint instead.
Request
- Base URLhttps://api.session.services
- AuthAPI key in header x-tenant-id
Path parameters
Team identifier (ID or slug)
Request body
User ID of the team member
Role IDs assigned to this team member.
Optional promoter access assignment. Omit to preserve existing team-wide behavior.
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
7 more changes in this revision
- breaking