Teams
Add Team Member
This endpoint adds a new team member to the specified team.
POST
/
v2
/
teams
/
member
Authorization
Body
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
requiredId of the team to add the member to
member_email
string
requiredEmail of the new team member
member_role
string
requiredRole 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
Was this page helpful?
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"
}