Remove Member from Enterprise
DELETE https://deploygate.com/api/enterprises/{ENTERPRISE_NAME}/organizations/{ORGANIZATION_NAME}/users/{USERNAME}
Remove member from the Organization in your Enterprise. This is not member removal from Enterprise.
Path Params
Name | Type | Required | Description |
---|---|---|---|
ENTERPRISE_NAME | string | true | Name of Enterprise |
ORGANIZATION_NAME | string | true | Name of Organization |
USERNAME | string | true | Name of User Account |
Example
curl \
-X DELETE \
--url "https://deploygate.com/api/enterprises/${ENTERPRISE_NAME}/organizations/${ORGANIZATION_NAME}/users/${USENAME}" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${API_TOKEN}"
Result 200
{
"error": false,
"message": "${USERNAME} was removed from ${ORGANIZATION_NAME}(${ENTERPRISE_NAME})"
}