How to delete firewall access rule by API, rule has organization scope.
Organizations in API are deprecated now.
I have rule id and organization id (rule has organization scope).
Having that I tried to delete rule by
- DELETE accounts/:account_identifier/firewall/access_rules/rules/:identifier
as accounts should be used instead of deprecated organizations (“An Organization is an entity which holds a set of zones for multiple users to interact with.Please use equivalent /accounts API endpoints. Account APIs provide a broader range of features and are backwards-compatible to organization APIs.”)
- DELETE organizations/:organization_id/firewall/access_rules/rules/:identifier
In both cases response is:
“message”: “Authentication error”
despite using correct auth key, email, rule id and organization id