CloudShell Administration REST API Usage
-
To use the API's methods, you must pass an authentication token. To obtain the token, execute the login method with a CloudShell system admin's credentials:
PUT
http://<CloudShell Server>:<CloudShell Server port>/Api/Auth/Login
{
"Username": "admin",
"Password": "admin",
"Token": null,
"Domain": "Global"
}For example:
-
And feed the token you got in the response into the API requests as a Bearer Token: