GitLab API

GitlabTool

Actions1095

Projects → deleteApiV4ProjectsIdShareGroupId

AI-generated

Summary

Remove a shared group from a GitLab project by specifying the project ID or path and the group ID, effectively unsharing that project with the given group.

Inputs

  • id (required) — The ID or URL-encoded path of the project to remove the shared group from.
  • group_id (required) — The ID of the group to unshare from the project.
  • Skip Authentication — Optionally skip authentication for this request (default is false).
  • baseUrl — The base URL for the GitLab instance (defaults to https://gitlab.com).

Output shape

no body — success/failure only

Returns an HTTP status indicating success or failure of the delete operation; no response body is expected.

Examples

Example 1: Unshare a project from a group

Provide the project identifier as 'id' and the group ID as 'group_id'; execute the operation to delete the project share for that group.

Links

Discussion