---
title: "Delete a shared project link in a group"
method: DELETE
path: "/api/v4/projects/{id}/share/{group_id}"
tags: ["projects"]
---

# Delete a shared project link in a group

`DELETE /api/v4/projects/{id}/share/{group_id}`

## Request

- Base URL: `https://gitlab.com`
- URL: `https://gitlab.com/api/v4/projects/{id}/share/{group_id}`
- Auth: none declared

Deletes a shared project link in a group.

## Path parameters

- `id` string, required
- `group_id` integer, required

## Response `204`

Delete a shared project link in a group

## Other responses

- `400`: Bad request
- `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)
