[id='rest_v2_sync_data']
= Synchronizing Data
Synchronize data from a source cluster to a target cluster with `POST` requests
and the `?action=sync-data` parameter:

[source,options="nowrap",subs=attributes+]
----
POST /v2/caches/{cacheName}?action=sync-data
----

When the operation completes, {brandname} responds with the total number of
entries copied to the target cluster.

[id='rest_v2_disconnect_source']
= Disconnecting Source Clusters
After you synchronize data to target clusters, disconnect from the source
cluster with `POST` requests and the `?action=disconnect-source` parameter:

[source,options="nowrap",subs=attributes+]
----
POST /v2/caches/{cacheName}?action=disconnect-source
----

If the operation successfully completes, the service returns `204 (No Content)`.
