Preview a policy change before saving it

Applies the policy editor’s compiled ops to the saved policies in memory and reports what the change would do: how many employees the new or changed policy covers (a new policy counts as switched on), who it would leave without any policy of the trip type, and two or three sample trips played through it. Nothing is written.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
enum
required
Allowed:
ops
array of objects
required

Ops as the policy editor compiles them. Kinds other than these are skipped; updateApprovalChain does not change who a policy covers.

ops*
Responses

403

Only super-admins edit policies.

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json