Delete a support document of a pre-appointment
DELETE/v1/checkin/appointments/:id/documents/:documentId
Soft-deletes a manually uploaded document (marks the record as disabled; the file is not removed from storage, since it may be shared with other documents completed by the same multi-charge upload). Documents originated from HIS_INBOUND cannot be deleted (returns 403).
Request
Responses
- 204
- 401
- 403
- 404
Document deleted successfully (no content returned)
Unauthorized: missing or invalid Bearer token
Forbidden: the document originates from HIS_INBOUND and cannot be deleted
Pre-appointment not found, document not found, or document belongs to a different pre-appointment