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