GitLab API

GitlabTool

Actions1000

Overview

This node operation deletes a shared group from a specified group in GitLab using the GitLab API. It is useful for managing group sharing permissions by removing access for a shared group. For example, if you want to revoke a group's access to another group's resources, you can use this operation to delete the shared group association.

Use Case Examples

  1. Remove a shared group from a GitLab group to restrict access.
  2. Automate group sharing management by deleting shared groups programmatically.

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 API path, including the group ID and the shared group ID to delete.

Output

JSON

  • statusCode - HTTP status code of the response indicating success or failure.
  • body - Response body from the API call, typically empty for delete operations.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the group ID and shared group ID are correct and exist in GitLab.
  • Verify that the API key has sufficient permissions to delete shared groups.
  • Check the base URL if using a self-hosted GitLab instance to ensure it is correct.
  • Common error messages include 404 Not Found if the group or shared group does not exist, and 403 Forbidden if the API key lacks permissions.

Links

Discussion