Skip to main content

Remove Member from Workspace

DELETE https://deploygate.com/api/enterprises/{WORKSPACE_NAME}/organizations/{ORGANIZATION_NAME}/users/{USER_NAME}

Remove member from the Organization in your Workspace. This is not member removal from Workspace.


Path Params

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