mirror of
https://github.com/serverless/serverless.git
synced 2026-01-18 14:58:43 +00:00
1.0 KiB
1.0 KiB
Read this on the main serverless docs site
Remove
The sls remove command will remove the deployed service, defined in your current working directory, from the provider.
serverless remove
Options
--stageor-sThe name of the stage in service.--regionor-rThe name of the region in stage.--verboseor-vShows all stack events during deployment.
Provided lifecycle events
remove:remove
Examples
Removal of service in specific stage and region
serverless remove --stage dev --region us-east-1
This example will remove the deployed service of your current working directory with the stage dev and the region us-east-1.