GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node operation deletes a project from GitLab using the GitLab API. It is useful for automating the removal of projects by specifying the project ID or URL-encoded path. For example, it can be used in workflows to clean up old or unused projects automatically.

Use Case Examples

  1. Deleting a project by its ID to free up resources.
  2. Automating project lifecycle management by removing projects that are no longer needed.

Properties

Name Meaning
Skip Authentication If set to true, the node will 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 GET but here it will be DELETE for this operation.
Path Parameters The path parameters for the request, specifically the project ID or URL-encoded path to identify the project to delete.

Output

JSON

  • id - The ID or URL-encoded path of the deleted project

Dependencies

  • GitLab API authentication credential

Troubleshooting

  • Ensure the project ID provided is correct and accessible with the authenticated user.
  • Check that the authentication credentials are valid and have permission to delete projects.
  • Common errors include 404 Not Found if the project does not exist or 403 Forbidden if the user lacks permission.

Links

Discussion