Logo onekloud
Ë

API Authentication

Getting started
rest-api-2.png

To use the OneKloud API you need an Oauth2.0 token. To get this token use the IAM login API as shown below, with your login and password.  You can manage your login and password in the OneKloud platform, as necessary.

Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such GitHub, client-side code, and so forth.

All API requests must be made over HTTPS. Calls made over plain HTTP will fail. API requests without authentication will also fail.

POST  https://api.onekloud.com/iam/login 

HEADERS

Content-Type application/json
 
BODY

{
    "email":"",
    "password":""
}
Request a demo