post
https://api.superwise.ai/v1/policies//archive
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Archives a policy by its ID. To list archived policies, set only_archived to true in List policies.
When to use it
Use it to retire a policy you may want to restore later with Unarchive a policy. To remove a policy entirely, use Delete a policy.
Required parameters
policy_id(path): the ID of the policy.
Response
A successful call returns 200 OK. The response body is not documented.
Related: Unarchive a policy, List policies, Delete a policy, Run a bulk action on policies
404Not Found
500Internal Server Error