---
title: "Delete a shared policy group"
method: DELETE
path: "/shared-policy-groups/{sharedPolicyGroupId}"
tags: ["SharedPolicyGroups"]
---

# Delete a shared policy group

`DELETE /shared-policy-groups/{sharedPolicyGroupId}`

## Request

- Base URL: `/management/v2/environments/DEFAULT` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/management/v2/environments/DEFAULT/shared-policy-groups/{sharedPolicyGroupId}`
- Auth: one of:
  - HTTP basic
  - API key in cookie `Auth-Graviteeio-APIM`

## Path parameters

- `sharedPolicyGroupId` string, required

## Response `204`

Shared policy group deleted

## Other responses

- `default`: Generic error response

---

[API](https://skmtc.dev/gravitee-io/apis/gravitee-io-apim-management-api-environments.md) - [All operations](https://skmtc.dev/gravitee-io/apis/gravitee-io-apim-management-api-environments/llms.txt) - [OpenAPI document](https://skmtc.dev/gravitee-io/apis/gravitee-io-apim-management-api-environments/revisions/b736a7e375df?raw)
