Skip to content

Decline policy draft

Request

Security
bearerAuth
Path
policyIdstringrequired
Headers
X-TENANT-IDstringrequired

Tenant tag

Example:{$inputs.tenant}
Bodyapplication/jsonrequired

Binder data

reasonstring
Example:"Reason for declining"
curl -i -X POST \
  'https://ledger.app.beta.insly.training/api/v1/ledger/sales/policies/{policyId}/decline' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -H 'X-TENANT-ID: {$inputs.tenant}' \
  -d '[
    {
      "reason": "predefined decline reasons"
    },
    {
      "declinedAt": "“YYYY-MM-DD\""
    }
  ]'

Responses

Quote declined