Updates the status of a certificate.
In this example, the status of the certificate whose ID is 9a28de48-8d8b-484d-a766-dec4****
is updated to INACTIVE.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | UpdateCertificateStatus |
The operation that you want to perform. Set the value to UpdateCertificateStatus. |
CertificateId | String | Yes | 9a28de48-8d8b-484d-a766-dec4**** |
The ID of the certificate. The ID must be globally unique in Certificates Manager. |
Status | String | Yes | INACTIVE |
The status of the certificate. Valid values:
|
For more information about common request parameters, see Common parameters.
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | e3f57fe0-9ded-40b0-9caf-a3815f2148c1 |
The ID of the request. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=UpdateCertificateStatus
&CertificateId=9a28de48-8d8b-484d-a766-dec4****
&Status=INACTIVE
&<Common request parameters>
Sample success responses
XML
format
<KMS>
<RequestId>e3f57fe0-9ded-40b0-9caf-a3815f2148c1</RequestId>
</KMS>
JSON
format
{
"RequestId": "e3f57fe0-9ded-40b0-9caf-a3815f2148c1"
}
Error codes
HttpCode | Error code | Error message | Description |
---|---|---|---|
404 | Certificate.NotFound | The specified certificate is not found. | The error message returned because the specified certificate does not exist. |
For a list of error codes, visit the API Error Center.