serverless
Version:
Serverless Framework - Build web, mobile and IoT applications with serverless architectures using AWS Lambda, Azure Functions, Google CloudFunctions & more
46 lines (31 loc) • 1.09 kB
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.