Next Topic

Previous Topic

Book Contents

Get Authentication

Authenticates the API username and password, so that subsequent API requests for the same session can be processed using the returned TenantId and Token.

GET /auth

Headers

Model Schema

Sample Response Model


{
  "Result": {
    "TenantId": "1",
    "Token": "90151280",
    "UserName": "kadmin",
    "RoleId": 2,
    "ScopeId": "2",
    "AdminId": 55957651,
    "MachineId": null,
    "MachineGroupName": null,
    "SessionExpiration": "2019-03-21T11:33:04.833",
    "CultureInfo": "en-US",
    "TimePref": "Browser",
    "OffSetInMinutes": 420,
    "ApiToken": "MC5NTlJ6UmsvSnZrby9XQTZFc3dBcnp6WTRZNWdmQ0lwRXVaSXFEZUV4OHoxWEVoa3BVU0xUTzJid28yQnJseXRlZVNqN3g3MUhmQ1RaYjB3Y1BlVGxLQT09",
    "Attributes": null
  },
  "ResponseCode": 0,
  "Status": "OK",
  "Error": "None"
}