GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation updates a specific resource group within a GitLab project using the GitLab API. It is useful for managing resource groups in CI/CD pipelines, such as modifying resource group settings or keys for a project. For example, a user can update the resource group key or other attributes by specifying the project ID and resource group key.

Use Case Examples

  1. Updating a resource group key for a specific project in GitLab to control CI/CD resource allocation.
  2. Modifying resource group settings to optimize pipeline resource usage in a GitLab project.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request.
baseUrl 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 for the API path, including the project ID and resource group key.

Output

JSON

  • response - The JSON response from the GitLab API after updating the resource group.

Dependencies

  • GitLab API authentication token

Troubleshooting

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

Links

Discussion