DotsDocs
Accounts payable

Delete file from the payable

Delete a file from the payable

DELETE
/v2/accounts-payable/payables/{payable_id}/file

Delete a file from the payable

Authorization

api_key
headerAuthorizationBasic <token>

Path Parameters

payable_id*string

The ID of the Payable

Response Body

OK

application/json
  1. response
id?string

ID of the payable that has the file deleted.

deleted?boolean

true if the file was deleted.

object?string

Type of the object that was deleted.

Example Request
curl -X DELETE 'https://api.dots.dev/api/v2/accounts-payable/payables/string/file'
Example Response
{  "id": "string",  "deleted": true,  "object": "string"}