Invite a user
Invite a user to join the team specified in the URL. The authenticated user needs to be an OWNER
in order to successfully invoke this endpoint. The user can be specified with an email or an ID. If both email and ID are provided, ID will take priority.
Authorizations
Default authentication mechanism
Path Parameters
The unique team identifier
"team_1a2b3c4d5e6f7g8h9i0j1k2l"
Body
The id of the user to invite
"kr1PsOIzqEL5Xg6M4VZcZosf"
The email address of the user to invite
"john@example.com"
The role of the user to invite
OWNER
, MEMBER
, DEVELOPER
, SECURITY
, BILLING
, VIEWER
, CONTRIBUTOR
[
"OWNER",
"MEMBER",
"DEVELOPER",
"SECURITY",
"BILLING",
"VIEWER",
"CONTRIBUTOR"
]
Response
The member was successfully added to the team
The ID of the invited user
"kr1PsOIzqEL5Xg6M4VZcZosf"
The username of the invited user
"john-doe"
The role used for the invitation
OWNER
, MEMBER
, DEVELOPER
, SECURITY
, BILLING
, VIEWER
, CONTRIBUTOR
"MEMBER"
The email of the invited user. Not included if the user was invited via their UID.
"john@user.co"
The team roles of the user
The team roles of the user
OWNER
, MEMBER
, DEVELOPER
, SECURITY
, BILLING
, VIEWER
, CONTRIBUTOR
["MEMBER"]
The team permissions of the user
The team permissions of the user
CreateProject
, FullProductionDeployment
, UsageViewer
, EnvVariableManager
, EnvironmentManager
["CreateProject"]
The member was successfully added to the team
The ID of the invited user
"kr1PsOIzqEL5Xg6M4VZcZosf"
The username of the invited user
"john-doe"
The role used for the invitation
OWNER
, MEMBER
, DEVELOPER
, SECURITY
, BILLING
, VIEWER
, CONTRIBUTOR
"MEMBER"
The email of the invited user. Not included if the user was invited via their UID.
"john@user.co"
The team roles of the user
The team roles of the user
OWNER
, MEMBER
, DEVELOPER
, SECURITY
, BILLING
, VIEWER
, CONTRIBUTOR
["MEMBER"]
The team permissions of the user
The team permissions of the user
CreateProject
, FullProductionDeployment
, UsageViewer
, EnvVariableManager
, EnvironmentManager
["CreateProject"]
OWNER
, MEMBER
, DEVELOPER
, SECURITY
, BILLING
, VIEWER
, CONTRIBUTOR
OWNER
, MEMBER
, DEVELOPER
, SECURITY
, BILLING
, VIEWER
, CONTRIBUTOR
CreateProject
, FullProductionDeployment
, UsageViewer
, EnvVariableManager
, EnvironmentManager