Deleting a Function

Last updated: 2020-07-09 17:08:15

    A function can be deleted in the console or on Serverless Framework CLI.

    Deleting Function in Console

    1. Log in to the SCF Console and select "Function Service" on the left sidebar.
    2. Select the region for which to view functions at the top. In the function list, you can view all the functions in the specified region.
    3. On the list page, click Delete in the "Operation" column on the right of the function you want to delete and then click OK to delete it.

    Deleting Function on Serverless Framework CLI

    Note:

    Before starting, please install the Serverless Framework CLI tool first as instructed in Installing Serverless Framework.

    You can run the sls remove command on Serverless Framework CLI to delete a deployed project.

    Was this page helpful?

    Was this page helpful?

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