Authentication
Get a new refresh token by providing user credentials
application/json
TypeScript Definitions
Use the request body type in TypeScript.
length <= 256length <= 256text/plain
application/json
application/json
curl -X POST "https://authentication.eniris.be/auth/login" \ -H "Content-Type: application/json" \ -d '{ "username": "string", "password": "My super secret password" }'application/json
application/json
"Jpc3MiOiJodHRwczovL2F1dGhlbnRpY2"{
"statusCode": 400,
"error": "Bad Request",
"message": "body must have required property 'username'"
}{
"statusCode": 401,
"error": "Unauthorized",
"message": "PASSWORD_INCORRECT"
}{
"statusCode": 429,
"error": "Too many requests",
"message": "TOO_MANY_FAILED_PASSWORD_CHECKS",
"retryAfter": 0
}{
"statusCode": 500,
"error": "Internal server error",
"message": "NO_PASSWORD_INFO"
}