curl --request DELETE \
  --url https://api.dots.dev/api/v2/accounts-payable/approval-policies/{approval_policy_id} \
  --header 'Authorization: Basic <encoded-value>'
{
  "deleted": true,
  "id": "<string>",
  "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

approval_policy_id
string
required

The ID of the Approval Policy

Response

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