v1

latestOpenAPI 3.0.22026-07-144652931.4 MB
Teams

Add a user to a team

Add a user to a team. Attempting to add a user with the read_only_user role will return a 400 error.

A team is a collection of Users and Escalation Policies that represent a group of people within an organization.

For more information see the API Concepts Document

Scoped OAuth requires: teams.write

put/teams/{id}/users/{user_id}

Path parameters

idstring required

The ID of the resource.

user_idstring required

The user ID on the team.

Headers

Acceptstring required

The Accept header is used as a versioning header.

Content-Type'application/json' required

Request body

role'observer' | 'responder' | 'manager'

The role of the user on the team.

Response

The user was added to the team.