Soft-delete a loan by setting its deletion timestamp. The loan will no longer appear in list results but can be restored by Pioneer support.
Security
ApiKeyAuth
- https://api.pioneerft.com/apihttps://api.pioneerft.com/api/public/v1/loans/{id}
- https://api.staging.pioneerft.com/apihttps://api.staging.pioneerft.com/api/public/v1/loans/{id}
curl -i -X DELETE \
'https://api.pioneerft.com/api/public/v1/loans/{id}' \
-H 'Authorization: Bearer <YOUR_API Key_HERE>'Response
{ "message": "Loan archived" }