Checks the login credentials and provides status and session ID for further login of the client.
Name | Data Type | Status | Description |
user | String | Required | API sub-user ID or username |
pass | String | Required | API password for the sub-user |
URL: https://panel.cloudns.net/api/json/login?
POST/GET: user=0&pass=PASSWORD
URL: https://panel.cloudns.net/api/json/login?
POST/GET: user=USERNAME&pass=PASSWORD
If the login credentials are wrong:
{"status":0,"message":"Invalid authentication, incorrect sub-auth-id, sub-auth-user or auth-password."}
If the login credentials are correct:
{"status":1,"sid":"somehash"}