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
Name | Type | Required | Description |
---|---|---|---|
ORGANIZATION_NAME | string | true | Organization Name |
TEAM_NAME | string | true | Name of team |
USER_NAME | string | true | Name 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})"
}