/
Delete User
Delete User
WCF
Method
public AuthServerResponse DeleteUser(string authServerPartnerLoginName, string authServerPartnerLoginPassword, string authServerPartnerUserLoginName, bool removeRelated)
WCF parameter | data type | description |
---|---|---|
authServerPartnerLoginName | string | SurePassID account login name |
authServerPartnerLoginPassword | string | SurePassID account login key |
authServerPartnerUserLoginName | string | User account login name |
removeRelated | bool | In addition to deleting the user al other references to the user such as audit trail will be removed from the system. |
Sample WCF C# Method
AuthServerResponse resp = DeleteUser("accountLogin", "accountKey", "Mandy", false );
Sample WCF C# Repsonse
if (resp.ErrorCode != 0) { message.Text = resp.ErrorMsg; return false; }
REST
REST parameter | data type | description |
---|---|---|
spAccountLoginName | string | SurePassID account login name |
spAccountLoginKey | string | SurePassID account login key |
username | string | user account login name |
type | string | delete_user |
removeRelated | bool | In addition to deleting the user, all other references to the user such as audit trail will be removed from the system. |
Sample REST/Json Method
{ "username": "Mandy", "spAccountLoginName": "accountLogin", "spAccountLoginKey": "accountKey", "removeRelated": "false", "type": "delete_user", }
Sample REST/Json Response
{ "errorCode": 0, "errorMessage": "OK", "type": "delete_user" }
, multiple selections available,
Related content
Delete All FIDO U2F Keys
Delete All FIDO U2F Keys
More like this
Delete FIDO U2F Key
Delete FIDO U2F Key
More like this
Delete Device
Delete Device
More like this
Find User
Find User
More like this
Expire Session Token
Expire Session Token
More like this
Validate User
Validate User
More like this