GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation updates a custom attribute for a specific group in GitLab using 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 group-specific settings or tags stored as custom attributes.

Use Case Examples

  1. Updating a custom attribute 'department' for group with ID 123 to 'Engineering'.
  2. Modifying a custom attribute 'projectType' for a group to reflect a new project classification.

Properties

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

Output

JSON

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

Dependencies

  • GitLab API key credential

Troubleshooting

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

Links

Discussion