Authorization: Bearer ********************
curl --location --request DELETE 'https://api.upbooks.io/api/v1/spend-policy/' \
--header 'ORGANIZATION-ID: 00000'
{
"data": {
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z",
"__v": 0,
"_id": "string",
"organizationId": "string",
"title": "string",
"categories": [
{
"category": {
"title": "string",
"id": "string"
},
"budget": {
"currency": {
"name": "string",
"symbol": "string"
},
"amount": 0
},
"approvalMatrix": {
"admin": true,
"manager": true
},
"receiptRequired": true
}
],
"overageAllowed": true,
"account": {
"id": "string",
"title": "string",
"type": "cash",
"subType": "gst-receivable",
"category": "asset",
"subCategory": "current-assets",
"bankAccount": {
"id": "string",
"bankAccountNumber": "string",
"title": "string"
},
"defaultCurrency": {
"name": "string",
"symbol": "string"
},
"naturalBalance": "credit"
}
},
"message": "string"
}