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

# Delete Prompt

> Delete an entire prompt and all its versions

Permanently deletes a prompt and all associated versions.

### Path Parameters

<ParamField path="promptId" type="string" required>
  The unique identifier of the prompt to delete
</ParamField>

### Response

Returns `null` on successful deletion.

<RequestExample>
  ```bash cURL theme={null}
  curl -X DELETE "https://api.helicone.ai/v1/prompt-2025/prompt_123" \
    -H "Authorization: Bearer $HELICONE_API_KEY"
  ```

  ```typescript TypeScript theme={null}
  const response = await fetch('https://api.helicone.ai/v1/prompt-2025/prompt_123', {
    method: 'DELETE',
    headers: {
      'Authorization': `Bearer ${HELICONE_API_KEY}`,
    },
  });
  ```
</RequestExample>

<ResponseExample>
  ```json Response theme={null}
  null
  ```
</ResponseExample>
