Mutations
updateSnippet
Updates one or more fields of an existing snippet. Each field uses a wrapper input — pass { value: "..." } to set it or omit it entirely to leave it unchanged. To remove the snippet’s path (un-group it) pass { value: null }. Requires the snippet:edit permission.
MUTATION
updateSnippet(input: UpdateSnippetInput!): UpdateSnippetOutput!Arguments
input
required
Returns
snippet
error
Mutation
Variables
Response
Mutation
Variables
Response

