cURL
curl --request POST \ --url https://api.vantage.sh/v2/teams/{team_token}/members \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "user_email": "<string>", "role": "editor" } '
{ "user_email": "john.doe@acme.com", "role": "editor" }
Add a member to a Team.
The access token received from the authorization server in the OAuth 2.0 flow.
The email address of the user to add to the Team.
The role to assign to the user. Defaults to 'editor'.
owner
editor
viewer
integration_owner
TeamMember model
The name of the team member.
"John Doe"
The email address of the team member.
"john@acme.com"
The token of the team member.
"usr_abcd1234"
The role of the team member in the team.
"editor"