> ## 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.

# Delete a snippet

> Soft-delete a snippet, hiding it from the picker while keeping reply history intact.

Deleted snippets are soft-deleted. They're hidden from the snippet picker but remain queryable by ID with `isDeleted: true`. This preserves the history of any replies that referenced the snippet.

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

This operation requires the following permissions:

* `snippet:delete`

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