Forum Discussion

Glen_Pekarcsik's avatar
Glen_Pekarcsik
Icon for Nimbostratus rankNimbostratus
Jun 25, 2019

F5 ASM API - Flows to URL Addition

I am trying to make an API call to update the Flows to URL under the Allowed HTTP URLs in an ASM policy. I see there is an API endpoint that shows the Flows to URL data - https://{{big_ip_a_mgmt}}/mgmt/tm/asm/policies/{{policyid}}/flows/ . In there, I see a link to the URL for the reference URL. I don't see anywhere in the data output that actually signed it to a URL. Below is the json I am using:

 

  {

    "maxLimit": 0,

    "isEntryPoint": true,

    "checkPostData": true,

    "numberOfMandatoryParameters": 0,

    "kind": "tm:asm:policies:flows:flowstate",

    "unicodeEncoding": false,

    "allowPostData": true,

    "frameIndex": 1,

    "toUrlReference": {

      "link": "https://localhost/mgmt/tm/asm/policies/{{policyid}}/urls/-oNzbuM9_ZpqaZN197eEcg"

    },

    "allowQueryString": true,

    "method": "POST",

    "checkQueryString": true

  }

 

Is there a way to update the Flows to URL from the Rest API?

No RepliesBe the first to reply