Bulk-delete application-verification records from a credentialing workflow
POST/credentialing-workflows/:workflowId/app-verifications/bulk-delete
Deletes multiple appVerifications records in one action. Each recordId uses the '{section}-{index}' format (e.g. 'appVerifications-3'); section must be appVerifications. Deletion is a single read-modify-write and archives each removed record into deletedData.practitioner.appVerifications (CP-37047), matching single-record delete behaviour for this section; appVerifications keeps its own endpoint because its request DTO differs from the generic section bulk-delete. Partial failures (malformed, wrong section, out-of-bounds, duplicate recordIds) are reported per record and do not block the valid deletions. NOTE: recordIds are positional, so this request must not be retried automatically — a replay after a successful-but-unseen response would delete whatever records shifted into those indices. The removed records are kept in deletedData, but there is no restore endpoint and they stay removed from the live section. Re-fetch the section and rebuild recordIds before any retry.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 422
- 500
- 503
At least one record was deleted; body reports the deleted and failed records
Empty/blank/invalid recordIds, a blank tenant-id, or a missing request body
Unauthorized - Authentication required
Forbidden - Insufficient permissions
Credentialing workflow not found
No record was deleted — every recordId failed (malformed, wrong section, out-of-bounds, or duplicate); the body carries the per-record failure reasons
Internal server error
Feature disabled by kill switch