> ## Documentation Index
> Fetch the complete documentation index at: https://plain-docs-orca-916-agent-docs-restructure.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Update a snippet

> Change a snippet's name, text, or group using field-level wrapper inputs.

Updates use field-level wrapper inputs: to change a field pass `{ "value": ... }`; to leave a field untouched omit it entirely. To clear the `path` (un-group a snippet) pass `{ "value": null }`.

<Snippet file="graphql/sdk-note.mdx" />

This operation requires the following permissions:

* `snippet:edit`

<Snippet file="graphql/update-snippet.mdx" />
