---
title: "POST /gateway-sync-migration"
method: POST
path: "/gateway-sync-migration"
tags: ["Automatic Migration"]
---

# POST /gateway-sync-migration

`POST /gateway-sync-migration`

## Request

- Base URL: `https://api.akeyless.io`
- URL: `https://api.akeyless.io/gateway-sync-migration`
- Auth: none declared

## Request body

- GatewaySyncMigration: gatewaySyncMigration is a command that sync migration
  - `json` boolean: Set output format to JSON
  - `name` string, required: Migration name
  - `start-sync` boolean: true, for starting synchronization, false for stopping
  - `token` string: Authentication token (see `/auth` and `/configure`)
  - `uid-token` string: The universal identity token, Required only for universal_identity authentication

## Response `200`

gatewayMigrationSyncResponse wraps response body.

- GatewayMigrationSyncOutput
  - `migration_name` string

## Other responses

- `default`: errorResponse wraps any error to return it as a JSON object with one "error" field.

---

[API](https://skmtc.dev/akeyless/apis/operations-integrations.md) - [All operations](https://skmtc.dev/akeyless/apis/operations-integrations/llms.txt) - [OpenAPI document](https://skmtc.dev/akeyless/apis/operations-integrations/revisions/2ae61e73aa1d?raw)
