Skip to main content

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

NameTypeRequiredDescription
WORKSPACE_NAMEstringtrueName of Workspace
USER_NAMEstringtrueName 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}"
}