teams

Add Team Member

This endpoint adds a new team member to the specified team.

post/teams/member

Request

Request body

team_idstring required

Id of the team to add the member to

member_emailstring required

Email of the new team member

member_role'admin' | 'dev' | 'finance' required

Role of the new team member

Example request

{
  "team_id": "95849b27-40d0-4532-8695-d2028847f823",
  "member_email": "example@upstash.com",
  "member_role": "dev"
}

Response

Team member added successfully

team_idstring

ID of the team

team_namestring

Name of the team

member_emailstring

Email of the team member

member_role'owner' | 'admin' | 'dev' | 'finance'

Role of the team member

copy_ccboolean

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

Example response

{
  "team_id": "3423cb72-e50d-43ec-a9c0-f0f359941223",
  "team_name": "test_team_name_2",
  "member_email": "example@upstash.com",
  "member_role": "dev",
  "copy_cc": true
}

Changes

No recorded changes to this operation across all 3 revisions of this API.