Revoke a certificate
POST/vedsdk/certificates/Revoke
Revokes an existing certificate. The request can be made using either the certificate's Distinguished Name (DN) or its Thumbprint. If both are provided, the DN will be used. The revocation reason and comments are optional. If the Disable parameter is set to true, the certificate will be disabled after revocation. The WorkToDoTimeout parameter specifies the time to wait for the revocation process to complete before returning a response.
Required scope: certificate:revoke
Request
Responses
- 200
- 202
- 400
- 403
- 500
The certificate was successfully revoked. The Success property is true, and Revoked is true.
The revocation request has been submitted but is pending confirmation. The Success property is true, but Revoked remains false. A warning message may indicate the pending status.
The request was invalid due to missing or incorrect parameters (e.g., certificate not found, no revocation reason provided). The Error property contains details.
The request was denied due to insufficient permissions to revoke the certificate. The Error property contains details.
An unexpected error occurred during revocation processing. The Error property contains details about the failure.