Lists all users from a determinated organization and checks thier password age, if threshold is reached, then user´s credentialExpired field is set to true
OK
Bad Request
Unauthorized request. Make sure token was included and is valid and try again.
Forbidden. You are not permitted to access the requested resource.
curl -i -X PUT \ 'http://localhost:8081/user-service/v1/organization/{orgId}/check-password-age?max-age=0' \ -H 'x-auth-token: YOUR_API_KEY_HERE'
{- "message": "The token is expired.",
- "status": 401,
- "error": "Unauthorized",
- "timestamp": "2023-12-13T19:02:31.5897497",
- "path": "/user-service/v1"
}