destroy
Destroys an instance of the SDK.
This function deletes all credentials, trusted issuer certificates and device keys from storage for a given instance of the SDK.
The SDK must not be initialised when this method is called, otherwise an error will be thrown.
This API is idempotent, meaning calling it with an instance ID that has never been initialised will not result in an error.
Parameters
instance Id
OPTIONAL Used to identify the instance of the storage we'd like to delete. This will only delete credentials, certificates and device keys unique to this instance. If not provided the default instance will be deleted.