GitLab API

GitlabTool

Actions1000

Overview

This node operation deletes a shared group from a specific project in GitLab. It is useful for managing project access by removing group sharing permissions. For example, if a project is shared with a group and you want to revoke that access, this operation will remove the group from the project's share list.

Use Case Examples

  1. Remove a group from a project's shared groups to restrict access.
  2. Manage project permissions by deleting group shares programmatically.

Properties

Name Meaning
Skip Authentication Whether to skip authentication for the request.
Authentication The authentication method used for the request, defaulting to GitLab API key.
baseUrl The base URL of the GitLab instance, default is https://gitlab.com.
Method HTTP method to use for the request, default is GET but DELETE is used for this operation.
Path Parameters Parameters required in the URL path to identify the project and group to remove.

Output

JSON

  • success - Indicates if the group was successfully removed from the project share.

Dependencies

  • An API key credential for GitLab authentication.

Troubleshooting

  • Ensure the project ID and group ID are correct and exist in GitLab.
  • Verify that the API key has sufficient permissions to modify project shares.
  • Common errors include 404 Not Found if the project or group does not exist, and 403 Forbidden if the API key lacks permissions.

Links

Discussion