Skip to main content
DELETE
/
api
/
prompts
/
{promptId}
Delete a user prompt
curl --request DELETE \
  --url https://your-instance.example.com/api/prompts/{promptId} \
  --header 'Authorization: Bearer <token>'
{
  "message": "Prompt deleted successfully"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

promptId
string
required

Response

Prompt deleted successfully

message
string
required
Example:

"Prompt deleted successfully"