Team Members
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.
post/teams/{key}/members
Request
- Base URL: https://api.session.services
- URL: https://api.session.services/teams/{key}/members
- Auth: API key in header x-tenant-id
Path parameters
keystring required
Team identifier (ID or slug)
Request body
Response
OK
Example response
{
"member": {
"permissions": [
"event.read",
"event.write",
"order.read"
]
}
}Changes
- breaking
the
request property const valuefalsewas added - breaking
the
request property type changed frombooleanto no type - info
the request property
became optional - info
added the non-success response with the status
- breaking