> ## Documentation Index
> Fetch the complete documentation index at: https://docs.rocketblue.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Batch delete prompts

> Delete multiple prompts in one request.

Prefer this over repeated [Delete prompt](/api-reference/topics-prompts/delete-prompt) calls when removing more than one prompt.

### Request body

<ParamField body="promptIds" type="string[]" required>
  Non-empty array of prompt UUIDs to delete.
</ParamField>

### Request

```bash theme={null}
curl -s -X POST \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"promptIds":["PROMPT_ID_1","PROMPT_ID_2"]}' \
  "https://app.rocketblue.ai/api/v1/prompts/batch-delete"
```

### Response

<ResponseField name="deletedPromptIds" type="string[]">
  Prompt IDs that were deleted.
</ResponseField>

<ResponseField name="deletedCount" type="integer">
  Number of prompts deleted.
</ResponseField>

<ResponseField name="brandIds" type="string[]">
  Brands affected by the deletion.
</ResponseField>

<ResponseField name="brandId" type="string | null">
  Present when all deleted prompts belonged to a single brand.
</ResponseField>

<ResponseField name="remainingSlots" type="integer | null">
  Remaining slots for the single brand case.
</ResponseField>

<ResponseField name="remainingSlotsByBrand" type="object">
  Remaining slots keyed by brand ID.
</ResponseField>

```json theme={null}
{
  "deletedPromptIds": ["prompt-uuid-1", "prompt-uuid-2"],
  "deletedCount": 2,
  "brandIds": ["brand-uuid-123"],
  "brandId": "brand-uuid-123",
  "remainingSlots": 90,
  "remainingSlotsByBrand": {
    "brand-uuid-123": 90
  }
}
```
