v1

latestOpenAPI 3.1.02026-07-1781833.4 KB
policies

Delete policy

Permanently deletes the policy and its rule set. Returns the deleted policy as a courtesy; its updated_at is unchanged by the deletion. Changes may take up to five minutes to reach developer machines.

delete/orgs/{org_name}/governance/policies/{policy_id}

Response

Policy deleted, returns the deleted policy.

Example response

{
  "deleted": {
    "id": "pol_06evsmp24r1pg71cm8500546pkbn",
    "name": "Security Research — hardened",
    "org": "my-org",
    "scope": {
      "teams": [
        "d290f1ee-6c54-4b01-90e6-d701748f0851"
      ]
    },
    "created_at": "2026-04-22T00:00:00Z",
    "updated_at": "2026-04-22T00:00:00Z",
    "allowlist_v0": {
      "domain": "network",
      "rules": [
        {
          "id": "rule_06evsm9qjm1pdsk0a8nkfaxy7jna",
          "name": "allow research mirrors",
          "actions": [
            "connect:tcp",
            "connect:udp"
          ],
          "resources": [
            "research.mitre.org",
            "cve.mitre.org"
          ],
          "decision": "allow"
        }
      ]
    }
  }
}