Teams
Start team deletion
Changed onSoft-delete a team immediately and queue its asynchronous cleanup by ID or slug
delete/teams/{key}
Request
- Base URLhttps://api.session.services
- AuthAPI key in header x-tenant-id
Path parameters
key, string required
Team key - either a unique ID (tem_xxx format) or URL-friendly slug
Example:tem_01jqpjksnsen9vprw95et60t2m
Response
OK
object required
Accepted team deletion request and its operation state
team, object required
deletion, object required
Asynchronous team deletion operation
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
added the new
PAYMENTS_NOT_READYenum value to theteam/stripeConnectAvailability/reasons/itemsresponse property for the response status - info
added the optional property
team/gateway/readinessto the response with the status
- warning
- breaking
for the
pathrequest parameterkey, the minLength was increased from0to1
6 more changes in this revision
- breaking