GitLab API

GitlabTool

Actions1000

Overview

This node operation allows updating a GitLab group by making a PUT request to the GitLab API endpoint `/api/v4/groups/{id}`. It is useful for scenarios where you need to modify group details such as name, path, description, or other group settings programmatically within an n8n workflow.

Use Case Examples

  1. Updating the name or description of a GitLab group by specifying the group ID and the new details in the request body.
  2. Automating group management tasks by integrating GitLab group updates into CI/CD pipelines or administrative workflows.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request, useful for testing or when authentication is handled externally.
Authentication Specifies the authentication method to use, defaulting to GitLab API key authentication.
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 for this operation it is PUT.
Path Parameters Parameters to be included in the request path, specifically the group ID to update.

Output

JSON

  • response - The JSON response from the GitLab API after updating the group, containing the updated group details or error information.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the group ID provided in the path parameters is correct and exists in the GitLab instance.
  • Verify that the authentication credentials are valid and have sufficient permissions to update groups.
  • Check the request body schema to ensure all required fields for updating the group are included and correctly formatted.
  • If skipping authentication, ensure the GitLab instance allows unauthenticated requests for this operation, which is uncommon.

Links

  • GitLab API - Edit Group - Official GitLab API documentation for updating group details using the PUT /groups/:id endpoint.

Discussion