Skip to main content

Add Member to Team

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

Add new member to team in the Project.


Path Params

NameTypeRequiredDescription
PROJECT_NAMEstringtrueProject Name
TEAM_NAMEstringtrueName of team

Body

NameTypeRequiredDescription
userstringtrueName of User Account

Example

curl \
-X POST \
--url "https://deploygate.com/api/organizations/${PROJECT_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}(${PROJECT_NAME})"
}