API Reference
Delete several prompts of the domain
Removes prompts by id; they may span several topics. Ids that no longer exist are skipped, so a stale selection cannot fail the whole call. Returns how many were deleted.
DELETE
header
AuthorizationBearer <JWT>Session JWT signed with HS256. Verification pins the algorithm and rejects expired tokens, per RFC8725.
domainId*stringDomain the prompts belong to
application/json- body
promptIds*array<string>Prompt ids to delete; they may span several topics of the domain
Prompts deleted
curl -X DELETE 'https://api.getmint.ai/api/domains/3fa85f64-5717-4562-b3fc-2c963f66afa6/topic-prompts/bulk' \ -H 'Content-Type: application/json' \ -d '{ "promptIds": [ "3fa85f64-5717-4562-b3fc-2c963f66afa6" ]}'Example Response
Empty