---
title: "Delete an access control project group."
method: DELETE
path: "/api/project-groups/{projectGroupId}"
tags: ["Projects", "GradleEnterprise", "Develocity"]
---

# Delete an access control project group.

`DELETE /api/project-groups/{projectGroupId}`

## Request

- Base URL: `https://develocity.example.com`
- URL: `https://develocity.example.com/api/project-groups/{projectGroupId}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/develocity/apis/develocity-api/docs/api/project-groups/:projectGroupId/delete.ts> (a function with typed inputs; its response is checked against the schema)

**<mark>Beta:</mark>** Delete a project group configured for project-level access control in Develocity.

## Response `200`

The projectId referenced an existing project group and it was deleted.

## Other responses

- `403`: The authenticated user has insufficient permissions.
- `404`: No API key was specified in the request, the key has been revoked, or the user bearing the key lacks permissions for this operation.

---

[API](https://skmtc.dev/develocity/apis/develocity-api.md) - [All operations](https://skmtc.dev/develocity/apis/develocity-api/llms.txt) - [OpenAPI document](https://skmtc.dev/develocity/apis/develocity-api/revisions/b49835fbf065?raw)
