Skip to main content
POST
/
teams
/
member
Add Team Member
curl --request POST \
  --url https://api.upstash.com/v2/teams/member \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "team_id": "95849b27-40d0-4532-8695-d2028847f823",
  "member_email": "[email protected]",
  "member_role": "dev"
}'
{
  "team_id": "3423cb72-e50d-43ec-a9c0-f0f359941223",
  "team_name": "test_team_name_2",
  "member_email": "[email protected]",
  "member_role": "dev",
  "copy_cc": true
}

Authorizations

Authorization
string
header
required

Body

application/json
team_id
string
required
Example:
member_email
string
required
Example:
member_role
enum<string>
required
Available options:
admin,
dev,
finance
Example:

Response

200 - application/json
team_id
string
Example:
team_name
string
Example:
member_email
string
Example:
member_role
enum<string>
Available options:
owner,
admin,
dev,
finance
Example:
copy_cc
boolean
Example: