Set the default team for a user

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

Availability: Gated behind the partner_api_set_default_team feature flag — must be enabled per operator. Contact your Monta Business Partner to request access.

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 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 the feature flag is 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