GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node operation performs an HTTP PUT request to update a namespace in the GitLab API (version 4). It is useful for modifying properties of a specific namespace identified by its ID. Common scenarios include updating namespace details such as name, path, or visibility settings in GitLab projects or groups.

Use Case Examples

  1. Updating the name or path of a GitLab namespace by specifying the namespace ID and providing the updated data in the request body.
  2. Changing the visibility level of a namespace to control access permissions.

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 to which the request is sent.
Method The HTTP method to use for the request, defaulting to PUT for this operation.
Path Parameters Parameters included in the request path, specifically the 'id' of the namespace to update.

Output

JSON

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

Dependencies

  • GitLab API authentication credential

Troubleshooting

  • Ensure the 'id' path parameter is correctly set to the namespace ID to avoid 404 Not Found errors.
  • Verify that the authentication credentials are valid and have sufficient permissions to update namespaces to prevent authorization errors.
  • Check the request body schema matches the expected structure for updating a namespace to avoid validation errors from the API.

Links

Discussion