delete
https://api.superwise.ai/v1/policies/
Delete a specific Policy
- policy_id: The ID of the policy to be deleted.
Raises:
PolicyNotFoundException: If the policy with the specified ID is not found.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Deletes one policy by its ID.
When to use it
Use it to remove a policy you no longer need. To keep it available to restore later, use Archive a policy.
Required parameters
policy_id(path): the ID of the policy.
Response
A successful call returns 204 No Content with an empty body.
Related: Archive a policy, Run a bulk action on policies, Create a policy
204Successful Response
404Not Found
500Internal Server Error