# destroy

Endpoint: DELETE /api/prompts/{id}
Version: 1.0.0
Security: ApiKeyAuth

## Security:

  - `ApiKeyAuth` (unknown)
    http TD1

## Path parameters:

  - `id` (string, required)

## Response 204:

  - `204` (unknown)
    Prompt deleted successfully

## Response 401:

  - `401` (unknown)
    Unauthorized - authentication credentials are missing or invalid

## Response 401 fields (application/json):

  - `status` (string, required)

  - `error` (string, required)

## Response 403:

  - `403` (unknown)
    Forbidden - insufficient permissions to access this resource

## Response 403 fields (application/json):

  - `status` (string, required)

  - `error` (string, required)

## Response 404:

  - `404` (unknown)
    Prompt not found

## Response 404 fields (application/vnd.api+json):

  - `errors` (array, required)

  - `errors.title` (string, required)

  - `errors.detail` (string, required)

  - `errors.code` (string, required)

  - `errors.status` (string, required)

