DELETE
/
Bill
/
attachedFileFromBill
/
{idBill}
/
{filename}
curl --request DELETE \
  --url https://api-sandbox.payabli.com/api/Bill/attachedFileFromBill/{idBill}/{filename} \
  --header 'requestToken: <api-key>'
{
  "isSuccess": true,
  "responseText": "Success",
  "responseCode": 1,
  "responseData": 6101,
  "pageidentifier": null
}

Authorizations

requestToken
string
header
required

Most endpoints require an organization token. Some endpoints require an application token, and those endpoints are noted.

Path Parameters

idBill
integer
required

Payabli ID for the bill. Get this ID by querying /api/Query/bills/ for the entrypoint or the organization.

Example:

285

filename
string
required

Filename in internal storage associated with the bill.

Query Parameters

returnObject
boolean
default:false

When true, the request returns the file content as a Base64-encoded string.

Response

200
application/json

Success

The response is of type object.