Trying to update an existing user as of https://developers.miro.com/docs/users#update-user-attribute-by-id
If the taget userName belongs to a deleted account, I get …
{
"schemas" : "urn:ietf:params:scim:api:messages:2.0:Error" ],
"status" : "400",
"scimType" : "invalidValue",
"detail" : "User name '*******@baloise.com' is invalid: 'not unique'"
}
You can reproduce this with the user ID 3074457348934407798. The UPN can not be changed to the baloise.com email domain.
Expected behaviour: a deleted account does not count as duplicate and it is possible to reuse UPN’s of deleted accounts.