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 |
| CredentialId | The unique identifier for the KeyCredential. |
Method Result Codes (defined in Call Service)
| Result Code | Description |
| Bad_InvalidArgument | The CredentialId is does not reference a valid KeyCredential. |
| Bad_UserAccessDenied | The current user does not have the rights required. |
| Bad_SecurityModeInsufficient | The SecureChannel is not encrypted. |
Table 128 specifies the AddressSpace representation for the RevokeCredential Method.
| Attribute | Value | ||||
| BrowseName | 2:Revoke | ||||
| References | NodeClass | BrowseName | DataType | TypeDefinition | ModellingRule |
|---|---|---|---|---|---|
| HasProperty | Variable | 0:InputArguments | Argument[] | 0:PropertyType | Mandatory |