Delete Policy

Deletes a policy by id.

Request URL Parameters:

  • app: an optional app id, to filter results by policies associated with that app.
  • after: a base64url encoded string of the policy UUID. Should be opaque to the end user.

Response:

{
  "data": {
    "policies": [
      {
        "id": "<policy_id>",
        "status": "active" | "inactive",
        "rules": [
          {rule_object},
          ...
        ]
      },
      ...
    ],
  } | undefined,
  "error": error | undefined
}
Language
Click Try It! to start a request and see the response here!