Delete a prompt

Permanently deletes a prompt and its provider assignments.

DELETE /prompts/{promptId}

Delete a prompt

Permanently deletes a prompt and its provider assignments.

Authentication: API key required (Bearer token)

Parameters

NameInRequiredDescription
promptIdpathYesPrompt ID to operate on.

Request Example

curl -X DELETE https://sellm.io/api/v1/prompts/example_id \
  -H "Authorization: Bearer sellm_your_api_key_here" \
  -H "Content-Type: application/json"

Responses

StatusDescription
200Prompt deleted
401Unauthorized
404Prompt not found
429Rate limited
500Internal error