Manual Chapter :
Import declarative policy through POST request
Applies To:
Show Versions
BIG-IP ASM
- 16.0.0
Import declarative policy through POST request
- Send the POST requesthttps://<BIG_IP>/mgmt/tm/asm/tasks/import-policy.Use following body:{ "fileReference": { "link": "file://my_policies/pol1.json" } }{ "fileReference": { "link": "http://example.com/my_policies/pol1.json" } }
The policy is imported successfully.