---
title: "POST /v1/projects/{project}/instances/{instance}/verifyExternalSyncSettings"
method: POST
path: "/v1/projects/{project}/instances/{instance}/verifyExternalSyncSettings"
tags: ["projects"]
---

# POST /v1/projects/{project}/instances/{instance}/verifyExternalSyncSettings

`POST /v1/projects/{project}/instances/{instance}/verifyExternalSyncSettings`

Verify External primary instance external sync settings.

## Path parameters

- `project` string, required
- `instance` string, required

## Request body

- SqlInstancesVerifyExternalSyncSettingsRequest — Instance verify external sync settings request.
  - `verifyConnectionOnly` boolean — Flag to enable verifying connection only
  - `syncMode` 'EXTERNAL_SYNC_MODE_UNSPECIFIED' | 'ONLINE' | 'OFFLINE' — External sync mode
  - `verifyReplicationOnly` boolean — Optional. Flag to verify settings required by replication setup only
  - `migrationType` 'MIGRATION_TYPE_UNSPECIFIED' | 'LOGICAL' | 'PHYSICAL' — Optional. MigrationType configures the migration to use physical files or logical dump files. If not set, then the logical dump file configuration is used. Valid values are `LOGICAL` or `PHYSICAL`. Only applicable to MySQL.
  - `syncParallelLevel` 'EXTERNAL_SYNC_PARALLEL_LEVEL_UNSPECIFIED' | 'MIN' | 'OPTIMAL' | 'MAX' — Optional. Parallel level for initial data sync. Only applicable for PostgreSQL.
  - `mysqlSyncConfig` MySqlSyncConfig — MySQL-specific external server sync settings.
    - `initialSyncFlags` SyncFlags[] — Flags to use for the initial dump.
      - `name` string — The name of the flag.
      - `value` string — The value of the flag. This field must be omitted if the flag doesn't take a value.
  - `selectedObjects` ExternalSyncSelectedObject[] — Optional. Migrate only the specified objects from the source instance. If this field is empty, then migrate all objects.
    - `database` string — The name of the database that Cloud SQL migrates.

## Response `200`

Successful response

---

[API](https://skmtc.dev/google/apis/sqladmin.md) · [All operations](https://skmtc.dev/google/apis/sqladmin/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/google/sqladmin/revisions/e9eef8a2afcd/schema)
