GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation deletes a custom attribute from a specific project in GitLab using the GitLab API. It is useful for managing project metadata by removing custom attributes that are no longer needed or relevant. For example, if a project has a custom attribute used for tracking a specific internal process and that attribute is obsolete, this operation can remove it.

Use Case Examples

  1. Deleting a custom attribute 'releaseVersion' from project with ID 12345 to clean up project metadata.
  2. Removing a deprecated custom attribute 'legacyFlag' from a project to maintain updated project settings.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request, useful for testing or public endpoints.
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 DELETE is used for this operation.
Path Parameters Parameters required in the URL path to identify the project and the custom attribute key to delete.

Output

JSON

  • success - Indicates whether the custom attribute was successfully deleted.
  • statusCode - HTTP status code returned by the API after the delete operation.

Dependencies

  • GitLab API authentication token or credentials

Troubleshooting

  • Ensure the project ID and custom attribute key are correct and exist in GitLab to avoid 404 errors.
  • Check that the authentication token has sufficient permissions to delete project custom attributes to avoid 403 Forbidden errors.
  • Verify the base URL is correct if using a self-hosted GitLab instance to avoid connection errors.

Links

Discussion