---
title: "Delete Snippet Endpoint"
method: DELETE
path: "/public/snippets/{snippet_id}"
tags: ["PUBLIC_SNIPPETS"]
deprecated: true
---

# Delete Snippet Endpoint

`DELETE /public/snippets/{snippet_id}`

> **Deprecated.**

Delete a snippet from Weaviate.

This endpoint deletes a specific snippet from either the
DataDefinition or SqlExamples collection.

## Path parameters

- `snippet_id` string, required

## Response `200`

Successful Response

- DeleteSnippetResponse — Response from deleting a snippet
  - `success` boolean, required — Whether the deletion succeeded
  - `message` string, required — Status message

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/myaltimate/apis/fastapi.md) · [All operations](https://skmtc.net/myaltimate/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/myaltimate/fastapi/versions/aab3fe5c9f05/schema)
