---
title: "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}"
method: DELETE
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}"
tags: ["MoveCollections"]
---

# DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}

`DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}`

Deletes a move collection.

## Path parameters

- `subscriptionId` string, required
- `resourceGroupName` string, required
- `moveCollectionName` string, required

## Query parameters

- `api-version` string, required

## Response `200`

OK

- OperationStatus — Operation status REST resource.
  - `id` string — Resource Id.
  - `name` string — Operation name.
  - `status` string — Status of the operation. ARM expects the terminal status to be one of Succeeded/ Failed/ Canceled. All other values imply that the operation is still running.
  - `startTime` string — Start time.
  - `endTime` string — End time.
  - `error` OperationStatusError — Class for operation status errors.
    - `code` string — The error code.
    - `message` string — The error message.
    - `details` OperationStatusError[] — The error details.
    - `additionalInfo` OperationErrorAdditionalInfo[] — The additional info.
      - `type` string — The error type.
      - `info` MoveErrorInfo — The move custom error info.
        - `moveResources` AffectedMoveResource[] — The affected move resources.
          - `id` string — The affected move resource id.
          - `sourceId` string — The affected move resource source id.
          - `moveResources` AffectedMoveResource[] — The affected move resources.
  - `properties` OperationStatusProperties — Class for operation result properties.

## Other responses

- `202` — Accepted
- `204` — NoContent
- `default` — Error response describing why the operation failed.

---

[API](https://skmtc.dev/azure/apis/resourcemover-microsoft-migrate-resourcemover.md) · [All operations](https://skmtc.dev/azure/apis/resourcemover-microsoft-migrate-resourcemover/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/azure/resourcemover-microsoft-migrate-resourcemover/revisions/387a098d4474/schema)
