10-21-2024 08:30 AM
I am trying to figure out how to get the Token for Cat Center 2.3.7.6. Is it the call to get a Token that's active for 1hr and then use it to make other requests? Or is there a place to get a token attached to my id? I have been looking for the ID option, but no luck.
Can you assist because I have also tried the generate token via a call but it seems to not be working right now. Any assistance will be helpful.
Solved! Go to Solution.
10-21-2024 09:00 AM
Hello!
To get the token you have to make an POST request to /dna/system/api/v1/auth/token with username/password. The token is valid for 60minutes. What is the API call you tried to make?
BR
10-21-2024 12:19 PM
The "getting started" section of the API documentation is a good place to start. https://developer.cisco.com/docs/dna-center/getting-started/
If you are still having issues, verify if AES encryption is enabled under "System > Settings > Authentication API Encryption". If so, you should see this part of the API Docs and will need a valid key.
10-21-2024 09:00 AM
Hello!
To get the token you have to make an POST request to /dna/system/api/v1/auth/token with username/password. The token is valid for 60minutes. What is the API call you tried to make?
BR
10-21-2024 12:19 PM
The "getting started" section of the API documentation is a good place to start. https://developer.cisco.com/docs/dna-center/getting-started/
If you are still having issues, verify if AES encryption is enabled under "System > Settings > Authentication API Encryption". If so, you should see this part of the API Docs and will need a valid key.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide