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

PSIRT openVuln API not listed in API console

dk123
Level 1
Level 1

API calls to the openVuln URLs are failing with "Not Authorized".  The "Hello" API works just fine using the same code (simple cURL requests).  I looked on the API Console but the PSIRT openVuln API is not listed, so I can't enable it, and the instructions I followed don't list it as a required step.  I see plenty of other API choices, just not this API.

 

curl -s -k -H "Content-Type: application/x-www-form-urlencoded" -X POST -d "client_id=ID" \
-d "client_secret=SECRET" \
-d "grant_type=client_credentials" https://cloudsso.cisco.com/as/token.oauth2


curl -X GET -s -k -H "Accept: application/json" -H "Authorization: Bearer TOKEN_FROM_PREVIOUS" \
 
<h1>Not Authorized</h1>

 

What's needed to get access to the API?

2 Replies 2

JiongLunLee4647
Level 1
Level 1
Me Too

What shall I do now?

i need this api