Policies

Deprecated alias of POST /v1/policies/{policyId}/proposals/{proposalId}/decisions

Deprecated

POST
/v1/public/account/workspace/policy-platform/{policyId}/proposals/{proposalId}/decisions

Authorization

AccountSessionCookie
decionis_account_session<token>

The signed HttpOnly account session the web app holds after sign-in (also accepted as a Bearer acct_ token).

In: cookie

Path Parameters

policyId*string
Formatuuid
proposalId*string
Formatuuid

Header Parameters

Idempotency-Key?string

Request Body

application/json

expectedSequence*integer
Range0 < value
action*string

Value in

  • "ACCEPT"
  • "REJECT"
  • "SPLIT"
reason*string
Length1 <= length <= 4000
ruleIds?array<>
Itemsitems <= 120
Default[]

Response Body

curl -X POST "https://example.com/v1/public/account/workspace/policy-platform/497f6eca-6276-4993-bfeb-53cbbbba6f08/proposals/497f6eca-6276-4993-bfeb-53cbbbba6f08/decisions" \  -H "Content-Type: application/json" \  -d '{    "expectedSequence": 1,    "action": "ACCEPT",    "reason": "string"  }'
Empty