Skip to main content
PATCH
Update a team member's role

Autorisations

Authorization
string
header
requis

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Paramètres de chemin

id
string
requis

The unique ID of the team member to update

Corps

application/json

Update a team member's role

role
enum<string>
requis

The new role to assign to the team member.

Options disponibles:
teams_owner,
teams_contributor,
teams_report_viewer
Exemple:

"teams_owner"

Réponse

Team member updated successfully

id
string
requis

Unique ID of the team member.

Exemples:

"auth0|68da0038bab277c02ed1d4c8"

"google-oauth2|123456789012345678901"

email
string<email>
requis

Email of the team member

Exemples:

"john.doe@example.com"

"jane.smith@company.org"

role
enum<string>
requis

The team-level role of the team member.

Options disponibles:
teams_owner,
teams_contributor,
teams_report_viewer
Exemple:

"teams_owner"

name
string
requis

Full name of the team member

Exemples:

"John Doe"

"Jane Smith"

given_name
string
requis

First name of the team member. Returns empty string if not set.

Exemples:

"John"

"Jane"

family_name
string
requis

Last name of the team member. Returns empty string if not set

Exemples:

"Doe"

"Smith"

nickname
string
requis

Nickname of the team member. Returns empty string if not set.

Exemples:

"johndoe"

"jsmith"