mirror of
https://github.com/serverless/serverless.git
synced 2026-01-18 14:58:43 +00:00
46 lines
1.1 KiB
Markdown
46 lines
1.1 KiB
Markdown
<!--
|
|
title: Serverless Framework Commands - Azure Functions - Remove
|
|
menuText: remove
|
|
menuOrder: 7
|
|
description: Remove a deployed Service and all of its Azure Functions Functions, Events and Resources
|
|
layout: Doc
|
|
-->
|
|
|
|
<!-- DOCS-SITE-LINK:START automatically generated -->
|
|
|
|
### [Read this on the main serverless docs site](https://www.serverless.com/framework/docs/providers/azure/cli-reference/remove)
|
|
|
|
<!-- DOCS-SITE-LINK:END -->
|
|
|
|
# Azure - Remove
|
|
|
|
The `serverless remove` command will remove the deployed service, defined in your
|
|
current working directory, from the provider.
|
|
|
|
```bash
|
|
serverless remove
|
|
```
|
|
|
|
## Options
|
|
|
|
- `--resourceGroup` or `-g` - Specify the resource group name
|
|
- `--stage` or `-s` - Specify stage name
|
|
- `--region` or `-r` - Specify region name
|
|
- `--subscriptionId` or `-i` - Specify subscription ID
|
|
- `--force` - Bypass delete check
|
|
|
|
## Provided lifecycle events
|
|
|
|
- `remove:remove`
|
|
|
|
## Examples
|
|
|
|
### Removal of service
|
|
|
|
```bash
|
|
serverless remove
|
|
```
|
|
|
|
This example will remove the deployed service of your current working directory
|
|
from the current platform endpoint.
|