seamlessfirework
Jul 21, 2023Cirrus
Solved
iControl REST / Change a setting in ASM logging profile
Hey guys,
I want to change the "maximumEntryLength" parameter in a ASM logging profile via REST. I built my URL in Postman like this
{{baseurl}}/mgmt/tm/security/log/profile/log-webservices/application
with the JSON body
{
"kind": "tm:security:log:profile:application:applicationcollectionstate",
"items": [
{
"maximumEntryLength": "10k"
}
]
}
The response is
{
"code": 403,
"message": "Operation is not supported on property /security/log/profile/log-webservices/application.",
"errorStack": [],
"apiError": 1
}
I followed the the API guide here: https://clouddocs.f5.com/api/icontrol-rest/APIRef_tm_security_log_profile_application.html. I also tried a PUT or PATCH but the API tells me a 403. What am I doing wrong here? 🤔
try this,i use postman works well, maximumEntryLength from "2k" change to "10k"
PATCH https://192.168.5.110/mgmt/tm/security/log/profile/log-webservices/application/~Common~log-webservices JSON Body: { "maximumEntryLength": "10k" }