GitLab API

GitlabTool

Actions1000

Overview

This node operation deletes a custom attribute from a specific group in GitLab using the GitLab API. It is useful for managing group metadata by removing custom attributes that are no longer needed or relevant. For example, an administrator can use this node to clean up or update group settings by deleting obsolete custom attributes.

Use Case Examples

  1. Deleting a custom attribute 'department' from a group with ID 123 to update group metadata.
  2. Removing a custom attribute 'projectCode' from a group to maintain accurate group information.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request, useful for public or unauthenticated API endpoints.
Authentication The authentication method used for the API request, defaulting to GitLab API key authentication.
baseUrl The base URL of the GitLab instance, defaulting to https://gitlab.com.
Method The HTTP method used for the request, defaulting to GET but can be set to DELETE for this operation.
Path Parameters Parameters required in the request path to identify the group and the custom attribute key to delete.

Output

JSON

  • statusCode - HTTP status code of the delete operation response
  • responseBody - Response body returned from the GitLab API after attempting to delete the custom attribute

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the group ID and custom attribute key are correct and exist in GitLab to avoid 404 Not Found errors.
  • Check that the API key has sufficient permissions to delete custom attributes on groups to prevent authorization errors.
  • Verify the base URL is correct if using a self-hosted GitLab instance to avoid connection issues.

Links

Discussion