Hi all,
I was wondering the other day if there is a API call that can increase the API token timeout. Right now it is 600sec=10mins which is okay but could be more. I came across this managed object "/uni/userext/pkiext/webtokendata" while googling other ACI stuff which hold the settings for various things. So I did a little visore digging ad found this "webtokenTimeoutSeconds" object which was set to 600sec. So I started to play with it and it worked. I was able to extend the token lifetime.
The API endpoint is https://apic.example.com/api/node/mo/uni/userext/pkiext/webtokendata.json
And the POST request body is the following:
{
"pkiWebTokenData": {
"attributes": {
"dn": "uni/userext/pkiext/webtokendata",
"webtokenTimeoutSeconds": "3600"
},
"children": []
}
}
Hope that helps for anyone else too.
Regards,
Ricgard