Skip to main content
DELETE
/
ai-analytics-service
/
api
/
public
/
v1
/
prompts
/
{id}
Delete Prompt
curl --request DELETE \
  --url https://api.slatehq.ai/ai-analytics-service/api/public/v1/prompts/{id} \
  --header 'Authorization: <authorization>'

Documentation Index

Fetch the complete documentation index at: https://slatehq.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Permanently deletes a prompt. Future scheduled query runs for the prompt are canceled. Existing query run history is not affected.

Parameters

id
number
required
Unique identifier for the prompt to delete.
Authorization
string
required
Bearer token. Format: Bearer slat_<your-token>.

Response

Returns 204 No Content on success. The response body is empty.

Example

curl -s -X DELETE "https://api.slatehq.ai/ai-analytics-service/api/public/v1/prompts/156" \
  -H "Authorization: Bearer slat_YOUR_TOKEN"

Status codes

StatusDescription
204Prompt deleted.
401Missing or invalid Bearer token. See Authentication.
404Prompt not found. The ID does not exist or does not belong to this workspace.
500Internal server error.

What’s next