---
title: "DELETE /subscriptions/{subscriptionId}/providers/Microsoft.Security/assessmentMetadata/{assessmentMetadataName}"
method: DELETE
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Security/assessmentMetadata/{assessmentMetadataName}"
tags: ["Assessments Metadata"]
---

# DELETE /subscriptions/{subscriptionId}/providers/Microsoft.Security/assessmentMetadata/{assessmentMetadataName}

`DELETE /subscriptions/{subscriptionId}/providers/Microsoft.Security/assessmentMetadata/{assessmentMetadataName}`

Delete metadata information on an assessment type in a specific subscription, will cause the deletion of all the assessments of that type in that subscription

## Path parameters

- `assessmentMetadataName` string, required

## Parameters

- `../../../common/v1/types.json#/components/parameters/ApiVersion` — unresolved $ref
- `../../../common/v1/types.json#/components/parameters/SubscriptionId` — unresolved $ref

## Response `200`

OK

## Other responses

- `default` — Error response describing why the operation failed.

## Changes

- **2020-02-13** (2020-01-01) `81dac8d35a7b` — 1 info
  - api operation id `AssessmentsMetadataSubscription_Delete` removed and replaced with `AssessmentsMetadata_DeleteInSubscription`

[Change history](https://skmtc.dev/azure/apis/microsoft-defender-for-cloud-4/changes/subscriptions/:subscriptionId/providers/Microsoft.Security/assessmentMetadata/:assessmentMetadataName/delete.md)

---

[API](https://skmtc.dev/azure/apis/microsoft-defender-for-cloud-4.md) · [All operations](https://skmtc.dev/azure/apis/microsoft-defender-for-cloud-4/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/azure/microsoft-defender-for-cloud-4/revisions/177083268f66/schema)
