- [HTTP request](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.dashboards/copy#body.HTTP_TEMPLATE)
- [Path parameters](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.dashboards/copy#body.PATH_PARAMETERS)
- [Request body](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.dashboards/copy#body.request_body)
  - [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.dashboards/copy#body.request_body.SCHEMA_REPRESENTATION)
- [Response body](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.dashboards/copy#body.response_body)
- [Authorization scopes](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.dashboards/copy#body.aspect)
- [IAM Permissions](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.dashboards/copy#body.aspect_1)
- [CreateDashboardRequest](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.dashboards/copy#CreateDashboardRequest)
  - [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.dashboards/copy#CreateDashboardRequest.SCHEMA_REPRESENTATION)

**Full name**: projects.locations.instances.dashboards.copy

Copy a dashboard of one type to a dashbooard of another type. Predefined dashboards cannot be the destination type.

### HTTP request

`POST https://{endpoint}/v1alpha/{name}:copy`

Where `{endpoint}` is one of the [supported service endpoints](https://docs.cloud.google.com/chronicle/docs/reference/rest#rest_endpoints).

### Path parameters

| Parameters ||
|---|---|
| `name` | `string` Required. Source dashboard name. |

### Request body

The request body contains data with the following structure:

| JSON representation |
|---|
| ``` { "destination": { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.dashboards/copy#CreateDashboardRequest`) } } ``` |

| Fields ||
|---|---|
| `destination` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.dashboards/copy#CreateDashboardRequest`)`` Required. Create request for the destination dashboard. Must specify dashboard type. |

### Response body

If successful, the response body contains an instance of `https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.dashboards#Dashboard`.

### Authorization scopes

Requires one of the following OAuth scopes:

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

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

### IAM Permissions

Requires the following [IAM](https://cloud.google.com/iam/docs) permission on the `name` resource:

- `chronicle.dashboards.copy`

For more information, see the [IAM documentation](https://cloud.google.com/iam/docs).

## CreateDashboardRequest

Request message for creating a dashboard.

| JSON representation |
|---|
| ``` { "parent": string, "dashboard": { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.dashboards#Dashboard`) } } ``` |

| Fields ||
|---|---|
| `parent` | `string` Required. The parent resource where this dashboard will be created. Format: projects/{project}/locations/{region}/instances/{instance} |
| `dashboard` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.dashboards#Dashboard`)`` Required. The dashboard to create. |