go back to UserService

POST /users/login

Logs the user in and returns a token that may be used on subsequent requests for access.

The endpoint has no roles.

Parameters

name description type default type
user-agent the "User-Agent" HTTP header header String
accept the "Accept" HTTP header (only text/plain or application/json are valid) header String

Result

Response of type: text/plain application/json

a response indicating success or failure and if success, the access token

Try It Out

Request

- Authentication Help
- String
- String