Skip to main content

Remove Shared Team from Workspace

DELETE https://deploygate.com/api/enterprises/{WORKSPACE_NAME}/shared_teams/{SHARED_TEAM_NAME}

Remove shared team from Workspace.


Path Params

NameTypeRequiredDescription
WORKSPACE_NAMEstringtrueName of Workspace
SHARED_TEAM_NAMEstringtrueName of Shared Team

Example

curl \
-X DELETE \
--url "https://deploygate.com/api/enterprises/${WORKSPACE_NAME}/shared_teams/${SHARED_TEAM_NAME}" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${API_TOKEN}"

Result 200

{
"error": false,
"message": "${SHARED_TEAM_NAME} was removed"
}