aries / net.globalid.aries.features.issuecredential / CredentialService / deleteCredential

deleteCredential

abstract fun deleteCredential(agent: Agent, recordId: String): Completable

Deletes the credential record with the given identifier from the agent's wallet. If the credential protocol is past the "issued" state, the credential stored with Indy is also deleted.

Parameters

agent - to delete the record for.

recordId - the credential id

Return
the completable instance