Forum Discussion

neeeewbie's avatar
May 22, 2023
Solved

api token timeout change

Hi I need your help ~  I checked below url but does not work,,  refer : https://my.f5.com/manage/s/article/K43590271 I entered the https://ipaddress/mgmt/shared/authz/tokens/<token vlaue> e...
  • JRahm's avatar
    May 22, 2023

    Hi neeeewbie, that's the right interface, what method are you using? This should work:

    curl -sk https://$HOST/mgmt/shared/authz/tokens/$TOKEN \
     -X PATCH -H "Content-type: application/json" -H "X-F5-Auth-Token: $TOKEN" \
     -d '{"timeout" : 4200}'