GitLab API icon

GitLab API

Gitlab

Actions1062

Project_snippets → putApiV4ProjectsIdSnippetsSnippetId

AI-generated

Summary

Updates an existing project snippet via a PUT request to GitLab's API.

Inputs

  • id (required) — The ID or URL-encoded path of the project
  • snippet_id (required) — The ID of the project snippet to update
  • body (required) — Fields to update on the snippet (title, file_name, code, etc.) as defined by the putApiV4ProjectsIdSnippetsSnippetId schema
  • skipAuthentication — If set, skips using the GitLab API credentials

Output shape

object

The updated snippet object as returned by GitLab API

Links

Discussion