deleteCredential

@Blocking
fun deleteCredential(id: String)

Deletes a mobile credential from storage.

This function also deletes the corresponding device key from storage. It is 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 initialized.

If unable to delete the device key used by the id.