deleteCredential

@Blocking
fun deleteCredential(id: String)

Deletes a mobile credential from storage.

This function also deletes the corresponding device key from storage. It is also idempotent, meaning calls to this function for mobile credentials that do not exist will not return an error.

Parameters

id

The Id of the credential to delete

Throws

If the SDK API is called before the SDK is initialised.

If unable to delete deviceKey used by CredentialId