This API request is used to generate an access token for other api requests. use your ruler credentials to receive a token.
The form data is your username and password.
Username
stringRequiredYour Ruler username credential.
Password
stringRequiredYour Ruler password credential.
curl -X POST \ 'https://authapi.rulerapi.com/v1/login' \ -H 'Content-Type: application/x-www-form-urlencoded' \ -d 'username={username}&password={password}'
200 OK { "access_token": "{access_token}", "scope": "{scope}", "expires_in": {expires_in}, "refresh_token": "{refresh_token}" }