---
title: "Delete AI Snippet"
method: DELETE
path: "/ai/settings/snippets/{aiSnippetId}"
tags: ["AI"]
---

# Delete AI Snippet

`DELETE /ai/settings/snippets/{aiSnippetId}`

## Request

- Base URL: `https://api.crowdin.com/api/v2`
- URL: `https://api.crowdin.com/api/v2/ai/settings/snippets/{aiSnippetId}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/crowdin/apis/crowdin-enterprise-api-v2/docs/ai/settings/snippets/:aiSnippetId/delete.ts> (a function with typed inputs; its response is checked against the schema)

**Required scopes:** `ai.prompt` (Read and Write).

## Path parameters

- `aiSnippetId` integer, required

## Response `204`

AI Snippet was successfully deleted

## Other responses

- `400`: Invalid Request Parameters
- `401`: Unauthorized
- `403`: Forbidden
- `404`: AI Snippet with specified id was not found
- `405`: Method Not Allowed

---

[API](https://skmtc.dev/crowdin/apis/crowdin-enterprise-api-v2.md) - [All operations](https://skmtc.dev/crowdin/apis/crowdin-enterprise-api-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/crowdin/apis/crowdin-enterprise-api-v2/revisions/dc68744c5384?raw)
