# Method: domains.restore

- [HTTP request](https://docs.cloud.google.com/managed-microsoft-ad/reference/rest/v1beta1/projects.locations.global.domains/restore#body.HTTP_TEMPLATE)
- [Path parameters](https://docs.cloud.google.com/managed-microsoft-ad/reference/rest/v1beta1/projects.locations.global.domains/restore#body.PATH_PARAMETERS)
- [Request body](https://docs.cloud.google.com/managed-microsoft-ad/reference/rest/v1beta1/projects.locations.global.domains/restore#body.request_body)
  - [JSON representation](https://docs.cloud.google.com/managed-microsoft-ad/reference/rest/v1beta1/projects.locations.global.domains/restore#body.request_body.SCHEMA_REPRESENTATION)
- [Response body](https://docs.cloud.google.com/managed-microsoft-ad/reference/rest/v1beta1/projects.locations.global.domains/restore#body.response_body)
- [Authorization Scopes](https://docs.cloud.google.com/managed-microsoft-ad/reference/rest/v1beta1/projects.locations.global.domains/restore#body.aspect)
- [Try it!](https://docs.cloud.google.com/managed-microsoft-ad/reference/rest/v1beta1/projects.locations.global.domains/restore#try-it)

**Full name**: projects.locations.global.domains.restore

RestoreBackup restores domain mentioned in the RestoreBackupRequest

### HTTP request

`POST https://managedidentities.googleapis.com/v1beta1/{name=projects/*/locations/global/domains/*}:restore`

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

### Path parameters

| Parameters ||
|---|---|
| `name` | `string` Required. resource name for the domain to which the backup belongs Authorization requires the following [IAM](https://cloud.google.com/iam/docs/) permission on the specified resource `name`: - `managedidentities.domains.restore` |

### Request body

The request body contains data with the following structure:

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

| Fields ||
|---|---|
| `backupId` | `string` Required. ID of the backup to be restored |

### Response body

If successful, the response body contains an instance of `https://docs.cloud.google.com/managed-microsoft-ad/reference/rest/Shared.Types/ListOperationsResponse#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/).