---
title: "Disables the specified rule so it will not apply to a subscription in the future."
method: POST
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Web/recommendations/{name}/disable"
tags: ["Recommendations"]
---

# Disables the specified rule so it will not apply to a subscription in the future.

`POST /subscriptions/{subscriptionId}/providers/Microsoft.Web/recommendations/{name}/disable`

Disables the specified rule so it will not apply to a subscription in the future.

## Path parameters

- `name` string, required
- `subscriptionId` string, required

## Query parameters

- `api-version` string, required

## Response `200`

Successfully disabled recommendations.

---

[API](https://skmtc.dev/azure/apis/recommendations-api-client.md) · [All operations](https://skmtc.dev/azure/apis/recommendations-api-client/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/azure/recommendations-api-client/revisions/974c009ddc59/schema)
