---
title: "Cancel AI Prompt Completion"
method: DELETE
path: "/users/{userId}/ai/prompts/{aiPromptId}/completions/{completionId}"
tags: ["AI"]
---

# Cancel AI Prompt Completion

`DELETE /users/{userId}/ai/prompts/{aiPromptId}/completions/{completionId}`

## Request

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

**Required scopes:** `ai.prompt` (Read only).

## Path parameters

- `userId` integer, required
- `aiPromptId` integer, required
- `completionId` string, required

## Response `204`

Concept was successfully deleted

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: AI prompt with specified id was not found
- `405`: Method Not Allowed

---

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