Manual Chapter : Import declarative policy through POST request

Applies To:

Show Versions Show Versions

BIG-IP ASM

  • 16.0.0
Manual Chapter

Import declarative policy through POST request

  1. Send the POST request
    https://<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.