---
title: "Remove a shared project from a group"
method: DELETE
path: "/api/v4/groups/{id}/shared_projects/{project_id}"
tags: ["groups"]
---

# Remove a shared project from a group

`DELETE /api/v4/groups/{id}/shared_projects/{project_id}`

## Request

- Base URL: `https://gitlab.com`
- URL: `https://gitlab.com/api/v4/groups/{id}/shared_projects/{project_id}`
- Auth: none declared

Removes a shared project targeting this group. The group Owner can remove a shared project without access to the source project.

## Path parameters

- `id` string, required
- `project_id` integer, required

## Response `204`

Remove a shared project from a group

## Other responses

- `400`: Bad request
- `403`: Forbidden
- `404`: Not found

---

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