Delete All FIDO U2F Keys

WCF


Method
 AuthServerU2FResponse DeleteAllSecurityKeys(string authServerPartnerLoginName,
                                                string authServerPartnerLoginPassword,
                                                string authServerPartnerUserLoginName,
                                                string appId)
WCF parameterdata typedescription
authServerPartnerLoginNamestringSurePassID account login name
authServerPartnerLoginPasswordstringSurePassID account login key
authServerPartnerUserLoginNamestringUser account login name
appIdstringFido appId (origin) or facetId
Sample WCF C# Method
 AuthServerU2FResponse resp = DeleteAllSecurityKeys("accountLogin",   
            "accountKey", 
            "Mandy", 
            "https://mysite.relayingparty.com");
Sample WCF C# Repsonse
 if (resp.ErrorCode != 0)  {      
       message.Text = resp.ErrorMsg;
       return false;
 }


REST


REST parameterdata typedescription
spAccountLoginNamestringSurePassID account login name
spAccountLoginKeystringSurePassID account login key
usernamestringuser account login name
typestringdelete_all_keys
appIdstringFido appId (origin) or facetId
Sample REST/Json Method
 {
  "spAccountLoginName": "accountLogin",
  "spAccountLoginKey": "accountKey",
  "type": "delete_all_keys",
  "username": "Mandy"
  "appId:" "https://mysite.relayingparty.com"
  } 
Sample REST/Json Response
{
  "errorMessage": "",
  "errorCode": 0,
  "type": "delete_all_keys"
}