post
https://api.superwise.ai/v1/policies//trigger
Trigger policy by ID.
- policy_id (UUID): The unique identifier of the policy that needs to be triggered.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Triggers a policy by its ID.
When to use it
Use it to evaluate a policy right away, for example after you create or update it, instead of waiting for its cron schedule.
Required parameters
policy_id(path): the ID of the policy.
Response
A successful call returns 202 Accepted or 204 No Content.
Related: Get a policy, Update a policy, Create a policy
202Accepted
204True if the policy is successfully triggered, raise error otherwise
404Not Found
500Internal Server Error