Teams
Create a new team
Changed onCreate a new team organization
post/teams
Request
- Base URL: https://api.session.services
- URL: https://api.session.services/teams
- Auth: API key in header x-tenant-id
Request body
Example request
{
"publicBaseUrl": "https://sash.net.au",
"image": {
"src": "https://assets.session.services/my-image.jpg",
"alt": "My Image",
"width": 1080,
"height": 1080
}
}Response
OK
Example response
{
"team": {
"publicBaseUrl": "https://sash.net.au",
"image": {
"src": "https://assets.session.services/my-image.jpg",
"alt": "My Image",
"width": 1080,
"height": 1080
},
"member": {
"permissions": []
}
}
}Changes
- warning
removed the request property
- info
added the required property
/to the response with the status
- warning
- info
added the non-success response with the status
- info