Forum Discussion

neeeewbie's avatar
May 22, 2023

api token timeout change

Hi I need your help ~  I checked below url but does not work,,  refer : 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}'