DevZero Logo
DevZero

Invite users to team

POST
/teams/{team_id}/users
/teams/{team_id}/users

Request Body

application/jsonRequired

add users to team body

body
Required
array<object>

Invite Users to Team request body

Path Parameters

team_id
Required
string

ID of team

Header Parameters

Authorization
Required
string

Value: "Bearer <token>"; visit the "User Settings" page in the DevZero dashboard to generate a token

curl -X POST "https://api.devzero.io/backend/v0/teams/string/users" \
  -H "Authorization: string" \
  -H "Content-Type: application/json" \
  -d '[
    {
      "email": "user@example.com",
      "permissions": "string"
    }
  ]'

OK

[
  {
    "email": "user@example.com",
    "id": "string",
    "secure_sign_in_url": "string",
    "team_id": "string"
  }
]