POST
/
v2
/
teams
/
member
curl -X POST \
  https://api.upstash.com/v2/teams/member \
  -u 'EMAIL:API_KEY' \
  -d '{"team_id":"95849b27-40d0-4532-8695-d2028847f823","member_email":"example@upstash.com","member_role":"dev"}'
{
    "team_id": "95849b27-40d0-4532-8695-d2028847f823",
    "team_name": "test_team_name",
    "member_email": "example@upstash.com",
    "member_role": "dev"
}

Request Parameters

team_id
string
required

Id of the team to add the member to

member_email
string
required

Email of the new team member

member_role
string
required

Role of the new team member
Options: admin, dev or finance

Response Parameters

team_id
string

ID of the created team

team_name
string

Name of the created team

member_email
string

Email of the new team member

member_role
string

Role of the new team member