cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
6935
Views
0
Helpful
2
Replies

DNACasP (version1.2.6) intend API /dna/system/api/v1/auth/token is not working via postman

daxu2
Cisco Employee
Cisco Employee

DNAC version 1.2.6 is released. And DNACasP is officially open to partner.  we are try to use intend API to develop customize application.

    We find Authentication API is changed in v1.2.6. 

    V1.2.6 = https://10.74.82.187/dna/system/api/v1/auth/token

Old version= https://10.74.82.187/ api/system/v1/auth/token

 

I use the new API on postman,it failed,but old version is successful.  I find it is bug in internal doc,so I want double confirm with you,we use which one to start the API? Can you give me a simple demo to share how to use.

 

All example in devnet is using old version,not news.

 

We need you help!

 

Internal link:

https://cdetsweb-prd.cisco.com/apps/dumpcr?username=daxu2&identifier=CSCvm73612&parentprogram=QDDTS

 

http://search-prd.cisco.com/topic/news/cisco/eng/ask-dnac-tme/dsc01186.html

 

 

 

image001.pngimage002.png

 

2 Replies 2

Tomas de Leon
Cisco Employee
Cisco Employee

Da Xu,

 

Just a reminder this is an External Community so please do not post  or reference internal links.  That said if you search internally I wrote an article on this topic on Techzone.

 

Look at my article:

TOTD: HOW TO DELETE IP ADDRESS POOL WHEN YOU GET THE ERROR: “Error "Failed to delete IP Pool: ... has reserved subpools” ?

 

If you are using the POSTMAN NATIVE APP for OSX or Windows &  upgraded to the latest release, API requests to the DNAC may fail with "401 Unauthorized".  The issue is under investigation but as suggested use either RESTLET or the POSTMAN CHROME browser app for REST API calls to the DNAC.  Issue listed in attached email thread.

 

This is with POSTMAN.  Use RESTLET Client and the old & new token URLs will work:

 

Restlet-Client_01.png Generate_TOKEN--Old_API_02.png Generate_TOKEN--New_API_01 .png

 

Hi. I caught this error too. and cant find your article:

TOTD: HOW TO DELETE IP ADDRESS POOL WHEN YOU GET THE ERROR: “Error "Failed to delete IP Pool: ... has reserved subpools” ?

Can you write link for this article?

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: