GitLab API

GitlabTool

Actions905

Overview

This node operation performs an HTTP PUT request to update a namespace in GitLab via the GitLab API. It is useful for automating the management of namespaces, such as changing namespace details programmatically within GitLab projects or groups. For example, it can be used to update the name or path of a namespace based on dynamic input data.

Use Case Examples

  1. Updating a GitLab namespace's name or path using the namespace ID.
  2. Automating namespace configuration changes in GitLab projects.

Properties

Name Meaning
Skip Authentication Determines whether to skip authentication for the request.
Authentication Specifies the authentication method to use, defaulting to GitLab API authentication.
baseUrl The base URL of the GitLab instance, defaulting to https://gitlab.com.
Method The HTTP method to use for the request, defaulting to PUT for this operation.
Path Parameters The path parameters for the request, specifically the 'id' of the namespace to update.

Output

JSON

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

Dependencies

  • GitLab API authentication credential

Troubleshooting

  • Ensure the 'id' path parameter is provided and valid; missing or incorrect 'id' will cause request failure.
  • Authentication errors may occur if the GitLab API credential is missing or invalid; verify credentials are correctly configured.
  • HTTP errors such as 404 (Not Found) or 403 (Forbidden) may indicate insufficient permissions or non-existent namespace ID.

Links

Discussion