GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation deletes a specific integration service from a GitLab project using the GitLab API. It is useful for managing project integrations by removing unwanted or obsolete services such as Slack, Jira, or Jenkins integrations. For example, if a project no longer requires a Slack integration, this operation can be used to delete it programmatically.

Use Case Examples

  1. Deleting a Slack integration from a GitLab project by specifying the project ID and the 'slack' slug.
  2. Removing a Jira integration from a project to stop issue tracking synchronization.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request, useful for public or unauthenticated endpoints.
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 HTTP method to use for the request, default is GET but DELETE is used for this operation.
Slug The name of the integration service to delete, e.g., 'slack', 'jira', 'github'.
Id The ID of the GitLab project from which the integration service will be deleted.

Output

JSON

  • success - Indicates whether the deletion of the integration service was successful.
  • statusCode - HTTP status code returned by the GitLab API for the delete operation.

Dependencies

  • GitLab API credentials or an API authentication token

Troubleshooting

  • Ensure the project ID and slug are correct and correspond to an existing integration service in the project.
  • Authentication errors may occur if the API token is invalid or lacks sufficient permissions to delete project integrations.
  • HTTP 404 errors indicate the specified project or integration service slug does not exist.
  • HTTP 403 errors indicate insufficient permissions to perform the delete operation.

Links

Discussion