cURL
curl --request DELETE \ --url https://api.dots.dev/api/v2/accounts-payable/payables/{payable_id}/file \ --header 'Authorization: Basic <encoded-value>'
{ "id": "<string>", "deleted": true, "object": "<string>" }
Delete a file from the payable
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Basic <encoded-value>
<encoded-value>
username:password
The ID of the Payable
OK
ID of the payable that has the file deleted.
true if the file was deleted.
true
Type of the object that was deleted.
Was this page helpful?