Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 17 Next »

/auth/login/admin/{user}/{pass}

Like a standard [Auth - Login|INFAPI:Auth - Login[, except fails if the user is not a system administrator (ie this checks and logs in as admin in one go). Note that admin users can still login using the normal command also and have full admin privileges in both cases.

Authentication

Not required (this call gives auth)

Arguments

user (required)
username required to login, usually in the format of bob@ikanow.com

pass (required)
password required to login, encrypted with SHA-256 (Base-64), URL-encoded

Example

http://infinite.ikanow.com/api/auth/login/admin/bob@ikanow.com/abcde12345

Example Response
{
    "response": {
        "action": "Login",
        "success": true,
        "time": 0
    }
}
  • No labels