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/2d7b6c91-3f84-4e7d-9c2a-1b6f8d3e4a55 \
  -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