cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
805
Views
5
Helpful
4
Replies

APIC EM Api >Can we get a token that will last for longer periods ?

Cisco_jchan
Level 1
Level 1

Hi,

I was wondering if we may obtain a APIC EM API token that will last for longer periods and not timeout when idle(30mins) or over 6hrs?

According to one of the lab documents, there seems to be a refresh token that was suppose to be good for 60days?

This would be helpful for demos, etc.,

Thank you so much for your consideration and assistance,

julia

4 Replies 4

aradford
Cisco Employee
Cisco Employee

Hi Julia, you can change this.

Today those settings are global.

settings -> auth timeout.

Idle timeout can be up to 60mins and the token can be up to 23:30 hours.

Hi aradford,

I am using postman for testing,

should I be passing this parameter along ( in the body section)  with the user name and password entries?

thank you again for your guidance and assistance,

julia

No, you can use an API call to change it, or change it through the UI.  The setting is global, so will not just apply to your tokens.

Thank you for your reply, since it is global, perhaps its' best to leave it at system default....

Best regards,

julia