Skip to main content

Remove Member from Organization

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

Remove member from team in the Organization.


Path Params

NameTypeRequiredDescription
ORGANIZATION_NAMEstringtrueOrganization Name
TEAM_NAMEstringtrueName of team
USER_NAMEstringtrueName of User Account to delete

Example

curl \
-X DELETE \
--url "https://deploygate.com/api/organizations/${ORGANIZATION_NAME}/teams/${TEAM_NAME}/users/${USER_NAME}" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${API_TOKEN}"

Result 200

{
"error": false,
"message": "invitee was removed from ${TEAM_NAME}(${ORGANIZATION_NAME})"
}