GitLab API

GitlabTool

Actions1095

Projects → deleteApiV4ProjectsIdTriggersTriggerId

AI-generated

Summary

Delete a trigger for a specified GitLab project using its project ID and trigger ID to identify the resource.

Inputs

  • id (required) — The ID or URL-encoded path of the project from which the trigger will be deleted.
  • trigger_id (required) — The ID of the trigger token to delete.
  • skipAuthentication — Optionally skip authentication (default is false).
  • baseUrl — Base URL of the GitLab instance, defaulting to https://gitlab.com.

Output shape

no body — success/failure only

The operation performs an HTTP DELETE request to /api/v4/projects/{id}/triggers/{trigger_id} and returns no response body on success. Errors are returned in standard GitLab API error format.

Examples

Example 1: Delete a trigger with project ID 18 and trigger ID 10

Set 'id' to '18' and 'trigger_id' to '10', ensure authentication is enabled, and execute the delete operation.

Links

Discussion