Delete one record from a section of a facility workflow
DELETE/facility-credentialing-workflows/:workflowId/:section/:index
Removes the record at the given position from the named section of the specified facility credentialing workflow and leaves every other record as it is; later records move up one position. When to use: Use this to remove a single record (for example one state license) without resending the whole section. The delete is not idempotent: repeating it removes the record that has moved into that position, or fails once the position is past the end. Preconditions: The workflow must belong to the caller's tenant. index is the record's 0-based position in the section. Supported sections: specialties, licenses, liability-insurance, sanctions, accreditations, certificates, npdb-reports, site-visits, medicare-star-ratings, app-verifications, performance-indicators, addresses, emails, phone-numbers. Returns: 200 OK with the workflow ID, the section, the deleted index and a message. Returns 400 if the section is unknown or the index is not a non-negative integer inside the section, 404 if the workflow is not found.
Request
Responses
- 200
- 400
- 403
- 404
Record deleted successfully
Invalid request - unknown section or bad or out-of-range index
Forbidden - User does not have required permissions
Workflow not found