APIReferenceSessions
Toggle team mode
Turns team mode on or off for a draft session.
Authorization
ApiKey AuthorizationBearer <token>
In: header
Path Parameters
id*string
Session id.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/sessions/string/team-mode" \ -H "Content-Type: application/json" \ -d '{ "enabled": true }'{ "session": { "id": "string", "teamMode": true }}{ "error": "string", "issues": [ { "path": [ null ], "message": "string" } ]}{ "error": "string"}{ "error": "string"}{ "error": "string"}{ "error": "string"}{ "error": "string"}