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>"
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

payable_id
string
required

The ID of the Payable

Response

200 - application/json
OK
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.