Last updated: 2019-06-25 22:24:39


## 1. API Description

API request domain name:

This API modifies the certificate.

Default API request rate limit: 200 requests/second.

2. Request Parameters

The following parameters are required for requesting this API, including action-specific parameters and common parameters. For more information about common parameters for all requests, see Common Request Parameters.

Parameter name Required Type Description
Action Yes String Common parameter; the name of this API: ModifyLiveCert
Version Yes String Common parameter; the version of this API: 2018-08-01
Region No String Common parameter; optional for this API
CertId Yes String Certificate ID.
CertType No Integer Certificate type. 0 - user-added certificate; 1 - Tencent Cloud-hosted certificate
CertName No String Certificate name
HttpsCrt No String Certificate content, i.e., the public key
HttpsKey No String Private key
Description No String Description information

3. Return Parameters

Parameter name Type Description
RequestId String The ID of the request. Each request returns a unique ID. The RequestId is required to troubleshoot issues.

4. Sample

Modifying a Certificate

Input Sample Code
&<Common request parameter>

Output Sample Code

    "Response": {
        "RequestId": "eac6b301-a322-493a-8e36-83b295459397"

5. Developer Resources

API Explorer

API Explorer is a tool that provides ease of use in requesting APIs, authenticating identities, generating SDK and exploring APIs in Tencent Cloud environment.

6. Error Codes

The following error codes are API business logic-related. For other error codes, see Common Error Codes.

Error Code Description
InternalError Internal error
InternalError.CrtDateInUsing The certificate is in use.
InternalError.CrtDateOverdue The certificate has expired.
InternalError.CrtKeyNotMatch The certificate key does not match.
InternalError.DBError DB execution error.
InternalError.InvalidInput Parameter check failed.
InternalError.SystemError Internal system error.