Add Member to Team
If you are using Flexible/Enterprise plan, please visit this page.
POST https://deploygate.com/api/organizations/{ORGANIZATION_NAME}/teams/{TEAM_NAME}/users
Add new member to team in the Organization.
Path Params
| Name | Type | Required | Description | 
|---|---|---|---|
| ORGANIZATION_NAME | string | true | Organization Name | 
| TEAM_NAME | string | true | Name of team | 
Body
| Name | Type | Required | Description | 
|---|---|---|---|
| user | string | true | Name of User Account | 
Example
curl \
  -X POST \
  --url "https://deploygate.com/api/organizations/${ORGANIZATION_NAME}/teams/${TEAM_NAME}/users" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer ${API_TOKEN}" \
  --form-string "user=${USER_NAME}"
Result 201
{
  "error": false,
  "results": "invitee has been added to ${TEAM_NAME}(${ORGANIZATION_NAME})"
}