Reactivating a user that was deactivated a long time ago via a PATCH request produces error 400 - Cannot update user with id 42889. UserEndDate cannot be set before 1 days in past.
Other PATCH requests to the user fail with the same error.
- Have a user that's been deactivated for a while
- Try to use PATCH request to activate them:
- Observe the error message:
It is expected that userEndDate will be automatically cleared and the user is activated with the above request.
The above request works fine when the user has been deactivated recently.
In the UI there's no requirement to reset userEndDate manually.
The error 400 occurs.
Reset the userEndDate manually at the same time by using the body: