GitLab API icon

GitLab API

Gitlab

Actions880

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 delete the group's share from the project.

Use Case Examples

  1. Removing a group's access to a project by specifying the project ID and the group ID to delete the share.
  2. Automating project access management by programmatically deleting group shares from projects.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request.
Authentication Type of authentication used, default is GitLab API key.
baseUrl Base URL of the GitLab instance, default is https://gitlab.com.
Method HTTP method to use for the request, default is GET.
Path Parameters Parameters for the request path including project ID and group ID to specify which group share to delete.

Output

JSON

  • statusCode - HTTP status code of the delete operation response.
  • body - Response body from the delete operation, typically empty if successful.

Dependencies

  • GitLab API key credential for authentication.

Troubleshooting

  • Ensure the project ID and group ID are correct and exist in GitLab.
  • Check that the API key has sufficient permissions to delete project shares.
  • If authentication is skipped, the request may fail due to lack of authorization.
  • Common errors include 404 Not Found if the project or group does not exist, and 403 Forbidden if permissions are insufficient.

Links

Discussion