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.
AuthorizationBearer <token>
Session JWT signed with HS256. Verification pins the algorithm and rejects expired tokens, per RFC8725.
In: header
Path Parameters
domainId*string
Domain the prompts belong to
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
curl -X DELETE "https://example.com/api/domains/3fa85f64-5717-4562-b3fc-2c963f66afa6/topic-prompts/bulk" \ -H "Content-Type: application/json" \ -d '{ "promptIds": [ "3fa85f64-5717-4562-b3fc-2c963f66afa6" ] }'Empty