Remove an account
DELETE /sso/organizations/{ssoOrganizationId}/accounts/{ssoAccountId}
Version | Change |
---|---|
v1.0 | Initial version |
v1.2 | DB Structure changes, validations |
v1.3 | Trigger script for proxy file generation |
<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
If hub_alpha>client>deleted
is equal to 1 it is considered not existent
Must return 200
404 if {ssoOrganizationId}
OR {ssoAccountId}
are not in the database.
Remove the connection in hub_alpha>client_user
table, for ALL records with hub_alpha>client_user>client_id
that equals {ssoAccountId}
.
Set hub_alpha>client>deleted
to 1
</v1.2>
<v1.3>
Trigger the Proxy file generation after this is saved in the database. Scope and info for it :
</v1.3>