Description
When a POST request is made to the following APIs return 200 status code even when the userId is invalid .
- {RANGER_ADMIN_URL}
/service/users/{USER_ID}/passwordchange
- {RANGER_ADMIN_URL}/service/users/{USER_ID}/emailchange
Ideally, the API's must return 404 not found when using an invalid userid in the url,
but in the case of the aforementioned APIs, POST request results in status code 200.
Attachments
Attachments
Issue Links
- causes
-
RANGER-4112 Update servicedef by name results in 400 status code while the same request works with update servicedef using id
- Resolved
-
RANGER-4188 updatePolicy results in 400 status code
- Resolved