---
title: "Delete a snippet"
method: DELETE
path: "/v2/snippets/{snippetKey}"
tags: ["Snippets"]
---

# Delete a snippet

`DELETE /v2/snippets/{snippetKey}`

## Request

- Base URL: `https://api.streak.com/api`
- URL: `https://api.streak.com/api/v2/snippets/{snippetKey}`
- Auth: HTTP bearer

Deletes a snippet the user has permission to update.

## Path parameters

- `snippetKey` string, required

## Response `200`

OK

- OperationResponse
  - `success` boolean: Whether the operation completed successfully.
  - `message` string, nullable: A message describing the result of the operation.

## Changes

- **2026-10-24** `0029d62629f5`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/streakyc/apis/streak/changes/v2/snippets/:snippetKey/delete.md)

---

[API](https://skmtc.dev/streakyc/apis/streak.md) - [All operations](https://skmtc.dev/streakyc/apis/streak/llms.txt) - [OpenAPI document](https://skmtc.dev/streakyc/apis/streak/revisions/3648671fd1cf?raw)
