Login to Veridata
get
http://{host}:{port}/veridata/v1/auth/login
Required Role: Administrator, SuperUser, DetailMonitoringOperator, MonitoringOperator, CommandLineOperator
Retrieve User Authorization token. Pass Veridata User Credentials as part of Digest Authorization.
Request
There are no request parameters for this operation.
There's no request body for this operation.
Security
-
DigestAuth: http
Type:
http
Response
Supported Media Types
- application/json
200 Response
Login successful.
Root Schema : Login
Type:
Show Source
object
-
roles: array
roles
User roles.
-
token: string
Authorization token.
-
userId: integer
User Id
400 Response
Bad Request.
Root Schema : Error
Type:
Show Source
object
-
errCode: string
Veridata Error Code.
-
errMsg: string
Veridata Error Message.
401 Response
Unauthorized.
Root Schema : Error
Type:
Show Source
object
-
errCode: string
Veridata Error Code.
-
errMsg: string
Veridata Error Message.
404 Response
Not Found.
Root Schema : Error
Type:
Show Source
object
-
errCode: string
Veridata Error Code.
-
errMsg: string
Veridata Error Message.
500 Response
Server Error.
Root Schema : Error
Type:
Show Source
object
-
errCode: string
Veridata Error Code.
-
errMsg: string
Veridata Error Message.