Delete Function

Last updated: 2020-06-05 11:45:05

    Note:

    This is a legacy API which has been hidden and will no longer be updated. We recommend using the new SCF API 3.0 which is standardized and faster.

    1. API Description

    This API is used to delete function, along with the triggers that are bound to this function.

    Domain name for API access: scf.api.qcloud.com

    2. Request Parameter

    The following request parameter list only provides API request parameters. Common request parameters are also needed when the API is called. For more information, please see Common Request Parameters. The Action field for this API is DeleteFunction.

    Parameter Name Required Type Description
    functionName Yes String Name of the function to be deleted.

    3. Response Parameters

    Parameter Name Type Description
    code Int Common error code. 0: Successful; other values: Failed.
    message String Module error message description depending on API
    codeDesc String Error code. For a successful operation, "Success" will be returned. For a failed operation, a message describing the failure will be returned.

    4. Example

    Input

    https://scf.api.qcloud.com/v2/index.php?Action=DeleteFunction
    &<Common request parameters>
    &functionName=hell

    Output

    {
        "code": 0,
        "message": "",
        "codeDesc": "Success"
    }

    Was this page helpful?

    Was this page helpful?

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