---
title: "PUT /{resourceUri}/providers/Microsoft.Advisor/recommendations/{recommendationId}/suppressions/{name}"
method: PUT
path: "/{resourceUri}/providers/Microsoft.Advisor/recommendations/{recommendationId}/suppressions/{name}"
tags: ["Suppressions"]
---

# PUT /{resourceUri}/providers/Microsoft.Advisor/recommendations/{recommendationId}/suppressions/{name}

`PUT /{resourceUri}/providers/Microsoft.Advisor/recommendations/{recommendationId}/suppressions/{name}`

Enables the snoozed or dismissed attribute of a recommendation. The snoozed or dismissed attribute is referred to as a suppression. Use this API to create or update the snoozed or dismissed status of a recommendation.

## Path parameters

- `resourceUri` string, required
- `recommendationId` string, required
- `name` string, required

## Query parameters

- `api-version` string, required

## Request body

- SuppressionContract — An Azure resource.
  - `id` string — The resource ID.
  - `name` string — The name of the resource.
  - `type` string — The type of the resource.

## Response `200`

OK. Successfully created suppression.

- SuppressionContract — An Azure resource.
  - `id` string — The resource ID.
  - `name` string — The name of the resource.
  - `type` string — The type of the resource.

---

[API](https://skmtc.net/azure/apis/advisormanagementclient.md) · [All operations](https://skmtc.net/azure/apis/advisormanagementclient/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/advisormanagementclient/revisions/da0c245e8534/schema)
