API Documentation

Everything you need to know, in one place

Important: This function is currently supported for Comodo certificates only.


Revokes a reissued SSL certificate

This command is needed to revoke SSL certificates that were reissued and replaced in order to avoid usage of outdated certs with potentially compromised keys.

Example Request


Request Parameters

Global parameters are not shown here (for clarity), but they should be present in all requests.

Name Type MaxLength Required? Description
CertificateID Number 10 Yes ID of the certificate for you wish to revoke
Default Value: 1
CertificateType String 50 Yes Type of SSL Certificate
Possible values for Type parameter:

InstantSSL, PositiveSSL, PositiveSSL Wildcard, EssentialSSL, EssentialSSL Wildcard, InstantSSL Pro, PremiumSSL Wildcard, EV SSL, EV Multi Domain SSL, Multi Domain SSL, PositiveSSL Multi Domain, Unified Communications.

Example Response

<?xml version="1.0" encoding="UTF-8"?>
<ApiResponse Status="OK">
<Errors />
<Warnings />
<CommandResponse Type="namecheap.ssl.revokecertificate">
<RevokeCertificateResult IsSuccess="true" ID="8111110" >

Response Parameters

Name Description
IsSuccess Indicates whether the certificate was revoked successfully
CertificateID A unique integer value that represents the certificate

Error Codes

Specifies the error codes that might be returned from this method

Number Description
4011331 Status is invalid
2011300 Wrong SSL certificate selection. The type provided is not supported by command.


We welcome your comments, questions, corrections and additional information relating to this article. Your comments may take some time to appear. Please be aware that off-topic comments will be deleted.

If you need specific help with your account, feel free to contact our Support Team. Thank you.

Need help? We're always here for you.

× Close