DotsDocs
Accounts payable

Delete an approval policy

Delete an approval policy by its ID

DELETE
/v2/accounts-payable/approval-policies/{approval_policy_id}

Delete an approval policy by its ID

Authorization

api_key
headerAuthorizationBasic <token>

Path Parameters

approval_policy_id*string

The ID of the Approval Policy

Response Body

OK

application/json
  1. response
deleted?boolean

true if the approval policy was deleted.

id?string

ID of the approval policy that was deleted.

object?string

Type of the object that was deleted.

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