Set the default team for a user

Assigns an existing private team as this user's default team. The team must be owned by this user, belong to the operator (or any of its sub-operators), and not currently be another user's default. Required scope: users:write
Organization authorization: supported

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
int64
required
Body Params
int64
required
> 0

Id of an existing private team owned by the operator (or one of its sub-operators) to assign as the user's default team

Responses

400

Team is not private, is not owned by the user, is deleted, is already the default team for another user, or teamId is missing/non-positive

403

Caller has no access to the team's operator, or default accounts are not enabled for this operator

404

User or team not found

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json