Prompts

Delete a user prompt

DELETE
/api/prompts/{promptId}

Deletes a prompt the caller owns. Refuses to delete a prompt that has been published to the marketplace (HTTP 400). To consolidate before deleting, use POST /api/prompts/reassign.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

promptId*string

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X DELETE "https://example.com/api/prompts/string"
{  "message": "Prompt deleted successfully"}