EaserixDocs
DevelopersAPI referenceAuth & accountsTeams

Add a team member

Team orgs only; team lead or org.teams.manage. Target must already be an org member (400, not 404, otherwise). Upserts the role.

View as Markdown
POST
/v1/orgs/{id}/teams/{tid}/members
AuthorizationBearer <token>

In: header

Path Parameters

id*string
tid*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/orgs/string/teams/string/members" \  -H "Content-Type: application/json" \  -d '{    "user_id": "string"  }'
{  "message": "string"}