Prompts

Archives 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 URL
    https://api.lightsage.com
  • Auth
    API 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

okboolean required

Changes