Skip to main content

Add Member to Team

POST https://deploygate.com/api/organizations/{ORGANIZATION_NAME}/teams/{TEAM_NAME}/users

Add new member to team in the Organization.


Path Params

NameTypeRequiredDescription
ORGANIZATION_NAMEstringtrueOrganization Name
TEAM_NAMEstringtrueName of team

Body

NameTypeRequiredDescription
userstringtrueName 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})"
}