Remove a user
DELETE /sso/users/{ssoUserId}
| Version | Change |
|---|---|
| v1.0 | Initial version |
| v1.2 | DB Structure changes, validations |
<v1.2>
{ssoUserId} - integer - this will be a number which we need to match to hub_alpha>user>threecots_user_id
If hub_alpha>user>deleted is equal to 1 it is considered not existent
Remove user from all accounts.
Must return 200
404 if {ssoUserId} are not in the database.
Remove the connection in hub_alpha>client_user table, for ALL records with hub_alpha>client_user>user_id that equals {ssoUserId}. And set hub_alpha>user>deleted to 1
</v1.2>