---
title: "Deletes the gateway resource."
method: DELETE
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/gateways/{gatewayResourceName}"
tags: ["Gateways"]
---

# Deletes the gateway resource.

`DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/gateways/{gatewayResourceName}`

## Request

- Base URL: `https://management.azure.com`
- URL: `https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/gateways/{gatewayResourceName}`
- Auth: OAuth 2
  - Implicit: `https://login.microsoftonline.com/common/oauth2/authorize`
  - Scopes: `user_impersonation`

Deletes the gateway resource identified by the name.

## Path parameters

- `subscriptionId` string, required
- `resourceGroupName` string, required
- `gatewayResourceName` string, required

## Query parameters

- `api-version` '2018-09-01-preview', required

## Response `200`

OK

## Other responses

- `202`: Accepted
- `204`: No Content - the specified gateway was not found.
- `default`: Error

## Changes

- **2026-07-13** (2018-07-01-preview) `4a181d9224af`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/azure/apis/servicefabricmesh-microsoft-servicefabricmesh-servicefabricm/changes/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.ServiceFabricMesh/gateways/:gatewayResourceName/delete.md)

---

[API](https://skmtc.dev/azure/apis/servicefabricmesh-microsoft-servicefabricmesh-servicefabricm.md) - [All operations](https://skmtc.dev/azure/apis/servicefabricmesh-microsoft-servicefabricmesh-servicefabricm/llms.txt) - [OpenAPI document](https://skmtc.dev/azure/apis/servicefabricmesh-microsoft-servicefabricmesh-servicefabricm/revisions/4a181d9224af?raw)
