cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2686
Views
2
Helpful
3
Replies

APIC-EM API authentication

andreizamfir16
Community Member

Hello. I'm trying to get a service ticket from the body of a POST request on the url "https://sandboxapic.cisco.com:9443/api/v1/ticket". The request contains a json that looks like this: "{ "username" : "admin", "password" : "C!sc0123" }". This is the first time the post request returns the error "INVALID_CREDENTIALS" with the message "Please provide valid credentials" instead of the service ticket i requested. What credentials should I use then, if not the provided ones?

1 Accepted Solution

Accepted Solutions

ecorban
Cisco Employee
Cisco Employee

please reference https://developer.cisco.com/site/apic-em/documents/getting-started/ for further information on the AlwaysOn sandbox for APIC-EM

View solution in original post

3 Replies 3

ecorban
Cisco Employee
Cisco Employee

please reference https://developer.cisco.com/site/apic-em/documents/getting-started/ for further information on the AlwaysOn sandbox for APIC-EM

Joe Clarke
Cisco Employee
Cisco Employee

I can confirm that when the credentials listed at https://developer.cisco.com/media/apic-em-getting-started-5-18-16/t_setup_always_on_sandbox_new_getstart_aem.html are used, then the API ticket is properly granted.  That is, the credentials you are using here are wrong.

andreizamfir16
Community Member

Thank you very much for the answers! The credentials provided there are working!