Skip to main content
Permanently delete a saved query. This action cannot be undone.
Authorization
string
required
Bearer token obtained from the authenticate endpoint.
query_id
string
required
Unique identifier of the saved query to delete.

Response

message
string
required
Confirmation message.
curl -X DELETE https://api.trellis.sh/v1/queries/sq_002 \
  -H "Authorization: Bearer YOUR_TOKEN"
{
  "message": "Query deleted successfully"
}