pub fn revoke<T: Config>(
    credential_id: CredentialIdOf<T>,
    authorization: Option<T::AccessControl>
)
Expand description

Revokes a public credential.

If a credential was already revoked, this function does not fail but simply results in a noop.

The dispatch origin must be authorized to revoke the credential.

Emits CredentialRevoked.

Warning: Doc-Only

This function is an automatically generated, and is doc-only, uncallable stub. See the real version in Pallet::revoke.