GitLab API

GitlabTool

Actions1000

Overview

This node operation allows updating a custom attribute for a specific group in GitLab via the GitLab API. It is useful for managing group metadata by modifying custom attributes identified by a key for a given group ID. For example, it can be used to update custom settings or tags associated with a GitLab group programmatically.

Use Case Examples

  1. Updating a custom attribute 'department' for group with ID 123 to a new value.
  2. Modifying a custom attribute 'projectType' for a specific GitLab group to reflect changes in project categorization.

Properties

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

Output

JSON

  • response - The JSON response from the GitLab API after updating the custom attribute, typically containing the updated attribute details.

Dependencies

  • GitLab API authentication token or credentials

Troubleshooting

  • Ensure the group ID and custom attribute key are correctly specified; incorrect values will cause API errors.
  • Authentication errors may occur if the API token is missing or invalid; verify credentials are correctly configured.
  • HTTP method must be set to PUT for this operation; using other methods may result in failure.

Links

Discussion