Delete Parameter Template

Last updated: 2017-12-14 11:09:28

    1. API Description

    This API (DelCdbParamTemplate) is used to delete the parameter template of the Cloud Database instance.
    You can also use API Query List of Parameter Templates to query the details of the list of parameter templates.
    Domain for API request: cdb.api.qcloud.com

    2. Input Parameters

    The following request parameter list only provides API request parameters. Common request parameters need to be added when the API is called. For more information, refer to Common Request Parameters. The Action field for this API is DelCdbParamTemplate.

    Parameter Name Required Type Description
    templateId Yes Int Template ID, you can use API Query List of Parameter Templates to query the parameter template ID

    3. Output Parameters

    Parameter Name Type Description
    code Int Common error code; 0: Succeeded; other values: Failed. For more information, please refer to Common Error Codes on the Error Code page.
    message String Module error message description depending on API.
    codeDesc String Error description
    data Array Returned data

    4. Error Codes

    The following error codes only include the business logic error codes for this API.

    Error Code Error Message Error Description
    9004 InternalError Database operation failed

    5. Example

    Input

    https://cdb.api.qcloud.com/v2/index.php?Action=DelCdbParamTemplate
    &<Common request parameters>
    &templateId=1005
    

    Output

    {
        "code":"0",
        "message":"",
        "codeDesc":"Success",
        "data":[
    
        ]
    }

    Was this page helpful?

    Was this page helpful?

    • Not at all
    • Not very helpful
    • Somewhat helpful
    • Very helpful
    • Extremely helpful
    Send Feedback
    Help