post
https://api.superwise.ai/v1/policies//unarchive
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Restores an archived policy and returns it.
When to use it
Use it to bring back a policy that was archived with Archive a policy.
Required parameters
policy_id(path): the ID of the policy.
Response
A successful call returns 200 OK with the restored PolicyResponse object, including id, name, status, data_config, threshold_settings, cron_expression, destination_ids, last_evaluation, and next_evaluation.
Related: Archive a policy, List policies, Run a bulk action on policies
404Not Found
500Internal Server Error