Remove user from an account
DELETE /sso/organizations/{ssoOrganizationId}/accounts/{ssoAccountId}/users/{ssoUserId}
Version | Change |
---|---|
v1.0 | Initial version |
v1.2 | DB Structure changes, validations |
<v1.2>
{ssoOrganizationId}
- integer - this will be a number which we need to match to hub_alpha>threecolts_organization>organization_id
{ssoAccountId}
- integer - this will be a number which we need to match to hub_alpha>client>threecolts_account_id
{ssoUserId}
- integer - this will be a number which we need to match to hub_alpha>user>threecots_user_id
If {ssoAccountId}
and {ssoUserId}
do not have a connection they are considered not existent
If hub_alpha>client>deleted
is equal to 1 it is considered not existent
If hub_alpha>user>deleted
is equal to 1 it is considered not existent
</v1.2>
Remove user from an account.
Must return 200
404 if {ssoOrganizationId},{ssoAccountId}
OR {ssoUserId}
are not in the database.
Remove the connection between the hub_alpha>user>id
({ssoUserId}
) and hub_alpha>client>id
({ssoAccountId}
) in hub_alpha>client_user
table.