8.5.7 Revoke

The Revoke Method is used to revoke a KeyCredential used by a Client or Server.

KeyCredentials shall be deleted when revoked.

This Method shall be called from an encrypted SecureChannel and from a Client that has access to the KeyCredentialAdmin Role, the ApplicationAdmin Privilege, or the ApplicationSelfAdmin Privilege (see 8.2).

Signature

Revoke (
	[in] String CredentialId
);
Argument Description
CredentialIdThe unique identifier for the KeyCredential.

Method Result Codes (defined in Call Service)

Result Code Description
Bad_InvalidArgumentThe CredentialId is does not reference a valid KeyCredential.
Bad_UserAccessDeniedThe current user does not have the rights required.
Bad_SecurityModeInsufficientThe SecureChannel is not encrypted.

Table 128 specifies the AddressSpace representation for the RevokeCredential Method.

Table 128 – Revoke Method AddressSpace Definition
Attribute Value
BrowseName2:Revoke
References NodeClass BrowseName DataType TypeDefinition ModellingRule
HasPropertyVariable0:InputArgumentsArgument[] 0:PropertyTypeMandatory