How to delete a Serverless service that has been deployed

Oscar de la Hera Gomez
Two flowers that represent Typescript & Serverless side by side. Beneath it sits the text "Remove Service."

In Terminal, in the directory of the Serverless project, run sls remove along with the stage that you wish to delete.

The following guide walks you through how to remove a deployed Serverless project using Terminal.

Step One: Set Current Directory

A screenshot of terminal showing how to set the current directory.

Open Terminal and set the current directory to that of the Serverless project that you wish to remove from AWS.

Step Two: Remove deployed project

A screenshot of terminal running sls remove at the current directory of the project.

To remove the project run

sls remove

To remove a specific stage, replace STAGE with the stage you wish to remove and run the following command

sls remove -s STAGE

Any Questions?

We are actively looking for feedback on how to improve this resource. Please send us a note to inquiries@delasign.com with any thoughts or feedback you may have.

delasign logo

Book a Free Consultation.

An icon of an email.

Click here to email us.

Fill in the details below to book a free consultation or to let us know about something else. Whatever it is, we are here to help.

How can we help you ?

Contact Details