Skip to main content
DELETE
Delete Topic

Authorizations

x-api-key
string
header
required

API key for authentication. You can create one here.

Path Parameters

topic_id
string<uuid>
required

The topic to delete.

Query Parameters

website_id
string<uuid>
required

Website that owns the topic.

delete_prompts
enum<string>

When "true", also soft-deletes every active prompt in the topic. Defaults to "false" (prompts are kept).

Available options:
true,
false

Response

Topic deleted

success
enum<boolean>
required
Available options:
true
name
string
required

Name of the deleted topic.

deleted_prompt_count
integer
required

Number of prompts soft-deleted alongside the topic (0 unless delete_prompts=true).