Prompts
Delete Topic
Changed onArchives a prompt topic. If it still contains prompts, set archive_prompts to archive them too; otherwise the request fails with 400.
delete/v1/prompts/topics/{topic_id}
Request
- Base URLhttps://api.lightsage.com
- AuthAPI key in header X-Lightsage-Api-Key
Path parameters
topic_idstring required
Topic ID from GET /v1/prompts/config.
Query parameters
archive_promptsboolean
Archive the topic's remaining prompts so the topic can be deleted.
Response
Successful Response
Changes
- info
endpoint added
- info