Suppressions - Delete

Enables the activation of a snoozed or dismissed recommendation. The snoozed or dismissed attribute of a recommendation is referred to as a suppression.

DELETE https://management.azure.com/{resourceUri}/providers/Microsoft.Advisor/recommendations/{recommendationId}/suppressions/{name}?api-version=2023-01-01

URI Parameters

Name In Required Type Description
name
path True

string

The name of the suppression.

recommendationId
path True

string

The recommendation ID.

resourceUri
path True

string

The fully qualified Azure Resource Manager identifier of the resource to which the recommendation applies.

api-version
query True

string

The version of the API to be used with the client request.

Responses

Name Type Description
204 No Content

NoContent. The recommendation has been activated.

Other Status Codes

ArmErrorResponse

Error response describing why the operation failed.

Security

azure_auth

Azure Active Directory OAuth2 Flow.

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation impersonate your user account

Examples

DeleteSuppression

Sample request

DELETE https://management.azure.com/resourceUri/providers/Microsoft.Advisor/recommendations/recommendationId/suppressions/suppressionName1?api-version=2023-01-01

Sample response

Definitions

Name Description
ArmErrorResponse
ARMErrorResponseBody

ARM error response body.

ArmErrorResponse

Name Type Description
error

ARMErrorResponseBody

ARM error response body.

ARMErrorResponseBody

ARM error response body.

Name Type Description
code

string

Gets or sets the string that can be used to programmatically identify the error.

message

string

Gets or sets the string that describes the error in detail and provides debugging information.