Update a team
Changed onUpdate an existing team by ID or slug
Request
- Base URLhttps://api.session.services
- AuthAPI key in header x-tenant-id
Path parameters
Team key - either a unique ID (tem_xxx format) or URL-friendly slug
Request body
Display name of the team organization. Must be between 3 and 30 characters
URL-friendly slug for the team organization. Must be unique within tenant and between 3 and 30 characters
Support email for customer inquiries. Pass null to clear, omit to leave unchanged.
Public website base URL for team-owned event and order links. Pass null to clear, omit to leave unchanged.
Team image. Pass null to clear, omit to leave unchanged.
Flexible key-value metadata storage for custom configuration. Similar to Stripe's metadata API. Maximum 50 keys, key names up to 40 characters, values up to 500 characters.
Approval status of the team. PENDING: awaiting review, APPROVED: can create promoters/venues/events, REJECTED: cannot operate
Timestamp in ISO 8601 format when the team was soft deleted. Only present for deleted teams.
Connected payment gateway for direct payouts. When connected, funds from ticket sales go directly to the team's account with platform fees deducted.
Example request
{
"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
added the new
PAYMENTS_NOT_READYenum value to theteam/stripeConnectAvailability/reasons/itemsresponse property for the response status - info
added the new optional request property
gateway/readiness - info
added the optional property
team/gateway/readinessto the response with the status
- warning