iControl REST Cookbook - LTM policy (ltm policy)
Updated Jun 06, 2023
Version 2.0Was this article helpful?
It doesn't work for me the API for replace the policies attached to a virtual server,
curl -sku admin:default https://192.168.1.74/mgmt/tm/ltm/virtual/http_policy/policies \
-H "Content-type: application/json" -X POST \
-d '{"name":policy_sorrypage}' | jq . -M
{
"code": 400,
"message": "Found invalid JSON body in the request.",
"errorStack": [],
"apiError": 1
}
where is the error?
Tks