GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node operation deletes a specific integration service from a GitLab project using the GitLab API. It is useful for automating the removal of project integrations such as Slack, Jira, or Jenkins services from GitLab projects. For example, a user can automate the cleanup of unused integrations across multiple projects.

Use Case Examples

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

Properties

Name Meaning
Skip Authentication If set to true, the node will skip using authentication for the API request.
Authentication The authentication method used for the API request, defaulting to GitLab API key authentication.
baseUrl The base URL of the GitLab instance, defaulting to https://gitlab.com.
Method The HTTP method used for the request, default is GET but for this operation it is DELETE.
Slug The name of the integration service to delete from the project. It must be one of the predefined integration slugs such as slack, jira, or github.
Id The ID of the GitLab project from which the integration service will be deleted.

Output

JSON

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

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the project ID and integration slug are correct and exist in the GitLab instance.
  • Authentication errors may occur if the API key is missing or invalid; verify credentials.
  • The node may fail if the user does not have sufficient permissions to delete integrations on the project.
  • Check the baseUrl if using a self-hosted GitLab instance to ensure it is correct.

Links

Discussion