---
title: "DeleteProjectPolicy"
method: POST
path: "/gitpod.v1.ProjectService/DeleteProjectPolicy"
tags: ["gitpod.v1.ProjectService"]
---

# DeleteProjectPolicy

`POST /gitpod.v1.ProjectService/DeleteProjectPolicy`

Deletes a project policy.

 Use this method to:
 - Remove access controls
 - Revoke permissions
 - Clean up policies

 ### Examples

 - Delete policy:

   Removes a group's access policy.

   ```yaml
   projectId: "b0e12f6c-4c67-429d-a4a6-d9838b5da047"
   groupId: "f53d2330-3795-4c5d-a1f3-453121af9c60"
   ```

## Request body

- GitpodV1DeleteProjectPolicyRequest — DeleteProjectPolicyRequest deletes a Project Policy.
  - `groupId` string, uuid — group_id specifies the group_id identifier
  - `projectId` string, uuid — project_id specifies the project identifier

## Response `200`

Success

- GitpodV1DeleteProjectPolicyResponse

## Other responses

- `default` — Error

## Changes

- **2025-02-18** `cd6a05ae99d2` — 1 warning
  - removed the optional property `detail` from the response with the `default` status

[Change history](https://skmtc.dev/gitpod-io/apis/gitpod-v1/changes/gitpod.v1.ProjectService/DeleteProjectPolicy/post.md)

---

[API](https://skmtc.dev/gitpod-io/apis/gitpod-v1.md) · [All operations](https://skmtc.dev/gitpod-io/apis/gitpod-v1/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/gitpod-io/gitpod-v1/revisions/ca9a49ac7fbb/schema)
