Users
Login/create a new token for the given credentials
Deprecated
POST
Accept*stringapplication/json
Content-Type*stringapplication/json
Ok
application/json- response
token_type*stringThe type of the authorization token being issued
expires_in*integerThe number of seconds remaining to the token expiration time, to be counted since the token issue date and time
access_token*stringThe issued JWT access token
refresh_token*stringA token to be used after the original access token has expired, to issue a new token without requiring a new request to the /users/login endpoint
curl -X POST 'https://api.devopness.com/users/login' \ -H 'Accept: application/json' \ -H 'Content-Type: application/json'Example Response
{ "token_type": "Bearer", "expires_in": 3600, "access_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImYwYjQxZjk1MTdiYWExOTg4Zjk...", "refresh_token": "def50200a757a1c4dbc4859a4c47195632f4df60ebb521ac5a28a0b7553101f08f8b9..."}