GitLab API

GitlabTool

Actions1000

Overview

This node operation deletes a specific integration from a GitLab project using the GitLab API. It is useful for automating the removal of integrations such as Slack, Jira, or other third-party services linked to a project. For example, a user can automate the cleanup of project integrations when decommissioning projects or changing integration setups.

Use Case Examples

  1. Deleting the Slack integration from a GitLab project with a given project ID.
  2. Removing the Jira integration from a project to stop issue tracking synchronization.

Properties

Name Meaning
Skip Authentication Determines whether to skip authentication for the API request.
Authentication Specifies the authentication method to use, hidden if Skip Authentication is true.
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.
Slug The name of the integration to delete, e.g., slack, jira, or github.
Id The project ID from which the integration will be deleted.

Output

JSON

  • statusCode - HTTP status code of the delete operation response
  • responseBody - Response body returned from the GitLab API after attempting to delete the integration

Dependencies

  • GitLab API authentication credential

Troubleshooting

  • Ensure the project ID and integration slug are correct and exist in the GitLab instance.
  • Authentication errors may occur if the API token is missing or invalid; verify credentials.
  • HTTP 404 errors indicate the integration or project was not found; check the parameters.
  • HTTP 403 errors indicate insufficient permissions to delete the integration; ensure the API token has the necessary scopes.

Links

Discussion