Skip to main content
post/teams/member
Request example
Response
post/teams/member

Authorization

Authorizationstringheaderrequired#
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded username:password.

Body

application/json
team_idstringrequired#
Id of the team to add the member to

Example:"95849b27-40d0-4532-8695-d2028847f823"

member_emailstringrequired#
Email of the new team member

Example:"example@upstash.com"

member_roleenum<string>required#
Role of the new team member
Options:admindevfinance

Example:"dev"

Responses

application/json
200
Team member added successfully
team_idstring#
ID of the team

Example:"3423cb72-e50d-43ec-a9c0-f0f359941223"

team_namestring#
Name of the team

Example:"test_team_name_2"

member_emailstring#
Email of the team member

Example:"example@upstash.com"

member_roleenum<string>#
Role of the team member
Options:owneradmindevfinance

Example:"dev"

copy_ccboolean#
Whether to copy existing credit card information to team member or not

Example:true