---
title: "Moves resources from one resource group to another resource group."
method: POST
path: "/subscriptions/{subscriptionId}/resourceGroups/{sourceResourceGroupName}/moveResources"
tags: ["Resources"]
---

# Moves resources from one resource group to another resource group.

`POST /subscriptions/{subscriptionId}/resourceGroups/{sourceResourceGroupName}/moveResources`

The resources to move must be in the same source resource group. The target resource group may be in a different subscription. When moving resources, both the source group and the target group are locked for the duration of the operation. Write and delete operations are blocked on the groups until the move completes.

## Path parameters

- `sourceResourceGroupName` string, required
- `subscriptionId` string, required

## Query parameters

- `api-version` string, required

## Request body

- ResourcesMoveInfo — Parameters of move resources.
  - `resources` string[] — The IDs of the resources.
  - `targetResourceGroup` string — The target resource group.

## Response `202`

Accepted

## Other responses

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

---

[API](https://skmtc.dev/azure/apis/resourcemanagementclient.md) · [All operations](https://skmtc.dev/azure/apis/resourcemanagementclient/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/azure/resourcemanagementclient/revisions/917e67faecf0/schema)
