mirror of
https://github.com/serverless/serverless.git
synced 2026-01-18 14:58:43 +00:00
26 lines
574 B
Markdown
26 lines
574 B
Markdown
# Remove
|
|
|
|
```
|
|
serverless remove
|
|
```
|
|
|
|
Removes the deployed service which is defined in your current working directory according to the stage and region.
|
|
|
|
## Options
|
|
- `--stage` or `-s` The name of the stage in service.
|
|
- `--region` or `-r` The name of the region in stage.
|
|
|
|
## 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`.
|