GitLab API

GitlabTool

Actions1095

Project_snippets → deleteApiV4ProjectsIdSnippetsSnippetId

AI-generated

Summary

Delete a project snippet by sending a DELETE request to /api/v4/projects/{id}/snippets/{snippet_id}. Authentication and the effective base URL are supplied by the GitLab API credential unless authentication is skipped; the visible HTTP Method setting defaults to GET, so set it to DELETE for this operation.

Inputs

  • Skip Authentication — Defaults to false. When enabled, skips the GitLab API credential authentication.
  • Authentication — Hidden credential selector for GitLab API authentication; shown when authentication is not skipped.
  • baseUrl — Defaults to https://gitlab.com; the node source says the effective base URL is defined in the GitLab API credential.
  • Method — HTTP method selector, defaulting to GET. Choose DELETE to perform the snippet deletion.
  • Path Parameters: Id (required) — Project ID or URL-encoded project path.
  • Path Parameters: Snippet_id (required) — ID of the project snippet to delete.

Output shape

Not established by the provided source pack; the operation delegates request execution and response handling to the shared OpenApiToolNode implementation.

The declared request path contains the project and snippet IDs. No request body schema or response schema is exposed for this operation.

Links

Discussion