---
title: "Validates whether resources can be moved from one resource group to another resource group."
method: POST
path: "/subscriptions/{subscriptionId}/resourceGroups/{sourceResourceGroupName}/validateMoveResources"
tags: ["Resources"]
---

# Validates whether resources can be moved from one resource group to another resource group.

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

This operation checks whether the specified resources can be moved to the target. The resources to move must be in the same source resource group. The target resource group may be in a different subscription. If validation succeeds, it returns HTTP response code 204 (no content). If validation fails, it returns HTTP response code 409 (Conflict) with an error message. Retrieve the URL in the Location header value to check the result of the long-running operation.

## 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)
