How Do I Obtain the ServiceCenter Token over an Interface Called by Running the curl Command

ManageOne ServiceCenter


How do I obtain the ServiceCenter token over an interface called by running the curl command?

Example of obtaining the token over an interface:

Obtaining the token as user Cloud_admin
curl -i -k -X POST '' -H "User-Agent:HttpClient" -H "Content-Type:application/json" -H "Accept:application/json" -d '{"userName":"cloud_admin","password":"FusionSphere123","loginScene":"1"}'

Obtaining the token as a VDC administrator
curl -i -k -X POST '' -H "User-Agent:HttpClient" -H "Content-Type:application/json" -H "Accept:application/json" -d '{"userName":"ygq_user16601","password":"Huawei@1234","loginScene":"2"}'


Scroll to top