# Method: projects.locations.groups.addGroupMigration

- [HTTP request](https://docs.cloud.google.com/migrate/virtual-machines/docs/5.0/reference/rest/v1alpha1/projects.locations.groups/addGroupMigration#body.HTTP_TEMPLATE)
- [Path parameters](https://docs.cloud.google.com/migrate/virtual-machines/docs/5.0/reference/rest/v1alpha1/projects.locations.groups/addGroupMigration#body.PATH_PARAMETERS)
- [Request body](https://docs.cloud.google.com/migrate/virtual-machines/docs/5.0/reference/rest/v1alpha1/projects.locations.groups/addGroupMigration#body.request_body)
  - [JSON representation](https://docs.cloud.google.com/migrate/virtual-machines/docs/5.0/reference/rest/v1alpha1/projects.locations.groups/addGroupMigration#body.request_body.SCHEMA_REPRESENTATION)
- [Response body](https://docs.cloud.google.com/migrate/virtual-machines/docs/5.0/reference/rest/v1alpha1/projects.locations.groups/addGroupMigration#body.response_body)
- [Authorization scopes](https://docs.cloud.google.com/migrate/virtual-machines/docs/5.0/reference/rest/v1alpha1/projects.locations.groups/addGroupMigration#body.aspect)

Adds a MigratingVm to a Group.

### HTTP request

`POST https://vmmigration.googleapis.com/v1alpha1/{group=projects/*/locations/*/groups/*}:addGroupMigration`

The URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.

### Path parameters

| Parameters ||
|---|---|
| `group` | `string` Required. The full path name of the Group to add to. Authorization requires the following [IAM](https://cloud.google.com/iam/docs/) permission on the specified resource `group`: - `vmmigration.groups.update` |

### Request body

The request body contains data with the following structure:

| JSON representation |
|---|
| ``` { "migratingVm": string } ``` |

| Fields ||
|---|---|
| `migratingVm` | `string` The full path name of the MigratingVm to add. |

### Response body

If successful, the response body contains an instance of `https://docs.cloud.google.com/migrate/virtual-machines/docs/5.0/reference/rest/v1alpha1/projects.locations.operations#Operation`.

### Authorization scopes

Requires the following OAuth scope:

- `https://www.googleapis.com/auth/cloud-platform`

For more information, see the [Authentication Overview](https://cloud.google.com/docs/authentication/).