Skip to main content

Remove Shared Team from Enterprise

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

Remove shared team from Enterprise.


Path Params

NameTypeRequiredDescription
ENTERPRISE_NAMEstringtrueName of Enterprise
SHARED_TEAM_NAMEstringtrueName of Shared Team

Example

curl \
-X DELETE \
--url "https://deploygate.com/api/enterprises/${ENTERPRISE_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"
}