GitLab API

GitlabTool

Actions1095

Snippets → putApiV4SnippetsId

AI-generated

Summary

Updates a GitLab snippet using the configured API request method and the /api/v4/snippets/{id} endpoint. Supply the snippet ID and the required request body; authentication uses the GitLab API credential unless skipped.

Inputs

  • Skip Authentication — Defaults to false. Enable to skip the GitLab API credential.
  • Authentication — Uses the GitLab API credential when authentication is not skipped.
  • Base URL — Defaults to https://gitlab.com; the node source notes that the effective base URL is defined in the GitLab API credential.
  • Method — HTTP method selector (GET, POST, PUT, DELETE, HEAD, or PATCH); defaults to GET.
  • Path Parameters: Id (required) — The integer ID of the snippet to update.
  • Request Body (required) — A body is required by the operation schema, but its fields are not exposed in the supplied operation properties.

Output shape

A single API response item.

The supplied source pack delegates request execution to the OpenApiToolNode base class, so it does not specify the response fields or exact output wrapping.

Links

Discussion