Open
Description
update user api request should return 400 if registration data present
Description
If an update request is made to the user api containing registration information, it is just ignored. Instead, a 400
response code should be returned.
Affects versions
All versions
Steps to reproduce
Steps to reproduce the behavior:
- Make
PUT
request to/api/user/{userId}
with payload like
{
"user": {
"email": "[email protected]",
"registrations": [{"applicationId": "48f6f797-5606-436e-be70-ba6c185d92e2", "verified": true}]
}
}
- Get
200
response.
Expected behavior
A400
response with code invalidJSON