Remove Member from Workspace
DELETE https://deploygate.com/api/enterprises/{WORKSPACE_NAME}/users/{USER_NAME}
Remove a member's account from your Workspace.
Path Params
| Name | Type | Required | Description |
|---|---|---|---|
| WORKSPACE_NAME | string | true | Name of Workspace |
| USER_NAME | string | true | Name of User Account to be removed |
Example
curl \
-X DELETE \
--url "https://deploygate.com/api/enterprises/${WORKSPACE_NAME}/users/${USER_NAME}" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${API_TOKEN}"
Result 200
{
"error": false,
"message": "${USER_NAME} was removed from ${WORKSPACE_NAME}"
}