DeleteCertificate
1. API Description
This API is used to delete a certificate.
Note
Deleting certificates that are currently in use is not allowed.
2. Request Parameters
The following list includes the request parameters required by the API:
Parameter Name | Required | Type | Description |
---|---|---|---|
certificateId | Yes | String | Certificate ID |
3. Output Parameters
Parameter Name | Type | Description |
---|---|---|
requestId | String | Unique request ID. Returned with every request. This request's requestId is needed when troubleshooting. |
4. Code Example
Delete a certificate
5. Error Codes
The following includes error codes encountered in business logic. For other error codes, see Common Error Codes.
HTTP Status Code | Error Code | Description |
---|---|---|
400 | CERTIFICATE_IS_USING | The certificate is currently in use and cannot be deleted |
404 | INVALID_CERTIFICATE_NOT_FOUND | The specified certificate was not found |
Last updated