Meh.
I got so far as to generating an access token, after registering my app.
But the EoX endpoint fails with "Developer Inactive", and this seems to be a known "issue", where one has to go through TAC to get that fixed according to Cisco Community.
The apix.cisco.com/hello, seems to work, so something must be okay, though.
But this should be the way to do it. I just can't check it. Assuming the "app" is registered in Cisco API Console
curl -L --request POST \
--url "https://id.cisco.com/oauth2/default/v1/token" \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data 'grant_type=client_credentials&client_id=[AwesomeClientId]&client_secret=[AwesomeClientSecret]'
which returns the access token to be used in;
curl --location 'https://apix.cisco.com/supporttools/eox/rest/5/EOXBySerialNumber/1/[serial]?responseencoding=json' --header 'Authorization: Bearer MyAwesomeAccessToken'
LinkedIn :::
https://blog.rhbirkelund.dk/Like what you see? - Give a Kudo ## Did it answer your question? - Mark it as a Solution
🙂All code examples are provided as is. Responsibility for Code execution lies solely your own.