---
title: "POST /gateway-list-migration"
method: POST
path: "/gateway-list-migration"
tags: ["v2"]
---

# POST /gateway-list-migration

`POST /gateway-list-migration`

## Request body

- GatewayListMigration — gatewayListMigration is a command that list migration
  - `json` boolean — Set output format to JSON
  - `token` string — Authentication token (see `/auth` and `/configure`)
  - `uid-token` string — The universal identity token, Required only for universal_identity authentication

## Response `200`

gatewayMigrationListResponse wraps response body.

- GatewayMigrationListOutput
  - `body` MigrationsConfigPart
    - `active_directory_migrations` ActiveDirectoryMigration[]
      - `general` MigrationGeneral
        - `id` string
        - `last_migration` string
        - `name` string
        - `new_name` string
        - `prefix` string
        - `protection_key` string
        - `status` string
        - `type` string
      - `payload` ActiveDirectoryPayload
        - `active_directory_target_id` integer
        - `ai_certificate_discovery` boolean
        - `auto_rotate` boolean
        - `auto_rotate_interval_in_days` integer
        - `auto_rotate_rotation_hour` integer
        - `certificates_expiration_events` CertificateExpirationEvent[]
          - `seconds_before` integer
        - `certificates_path_template` string
        - `computer_base_dn` string
        - `discover_iis_apps` boolean
        - `discover_local_users` boolean — Deprecated
        - `discover_services` boolean
        - `discovery_types` DiscoveryType[]
        - `domain_name` string
        - `domain_server_targets_path_template` string
        - `domain_users_rotated_secrets_path_template` string
        - `enable_rdp_sra` boolean
        - `local_users_ignore_list` object
        - `local_users_rotated_secrets_path_template` string
        - `os_filter` string
        - `ssh_port` string
        - `target_format` string
        - `targets_type` string
        - `user_base_dn` string
        - `user_groups` string[]
        - `winrm_over_http` boolean
        - `winrm_port` string
    - `aws_secrets_migrations` AWSSecretsMigration[]
      - `general` MigrationGeneral
        - `id` string
        - `last_migration` string
        - `name` string
        - `new_name` string
        - `prefix` string
        - `protection_key` string
        - `status` string
        - `type` string
      - `payload` AWSPayload
        - `key` string
        - `region` string
        - `secret` string
    - `azure_kv_migrations` AzureKeyVaultMigration[]
      - `general` MigrationGeneral
        - `id` string
        - `last_migration` string
        - `name` string
        - `new_name` string
        - `prefix` string
        - `protection_key` string
        - `status` string
        - `type` string
      - `payload` AzurePayload
        - `client` string
        - `name` string
        - `secret` string
        - `tenant` string
    - `certificate_migrations` CertificateMigration[]
      - `general` MigrationGeneral
        - `id` string
        - `last_migration` string
        - `name` string
        - `new_name` string
        - `prefix` string
        - `protection_key` string
        - `status` string
        - `type` string
      - `payload` CertificatePayload
        - `expiration_events` CertificateExpirationEvent[]
          - `seconds_before` integer
        - `folder` string
        - `max_dial_timeout` integer
        - `max_scan_duration` integer
        - `max_workers` integer
        - `port_ranges` string
        - `targets` CertificateScanTarget[]
          - `host` string
          - `portRanges` string
    - `conjur_migrations` ConjurMigration[]
      - `general` MigrationGeneral
        - `id` string
        - `last_migration` string
        - `name` string
        - `new_name` string
        - `prefix` string
        - `protection_key` string
        - `status` string
        - `type` string
      - `payload` ConjurPayload
        - `conjur_account` string
        - `conjur_api_key` string
        - `conjur_url` string
        - `conjur_username` string
    - `gcp_secrets_migrations` GCPSecretsMigration[]
      - `general` MigrationGeneral
        - `id` string
        - `last_migration` string
        - `name` string
        - `new_name` string
        - `prefix` string
        - `protection_key` string
        - `status` string
        - `type` string
      - `payload` GCPPayload
        - `gcp_credentials_json` string
        - `project_id` string
        - `use_gw_cloud_identity` boolean
    - `hashi_migrations` HashiMigration[]
      - `general` MigrationGeneral
        - `id` string
        - `last_migration` string
        - `name` string
        - `new_name` string
        - `prefix` string
        - `protection_key` string
        - `status` string
        - `type` string
      - `payload` HashiPayload
        - `delete_sync_on_deletion` boolean
        - `import_as_json` boolean
        - `metadata_mode` string
        - `namespaces` string[]
        - `token` string
        - `url` string
        - `usc_name` string
    - `k8s_migrations` K8SMigration[]
      - `general` MigrationGeneral
        - `id` string
        - `last_migration` string
        - `name` string
        - `new_name` string
        - `prefix` string
        - `protection_key` string
        - `status` string
        - `type` string
      - `payload` K8SPayload
        - `ca` integer[]
        - `client_cert` integer[]
        - `client_key` integer[]
        - `namespace` string
        - `password` string
        - `server` string
        - `skip_system` boolean
        - `token` string
        - `username` string
    - `mock_migrations` MockMigration[]
      - `general` MigrationGeneral
        - `id` string
        - `last_migration` string
        - `name` string
        - `new_name` string
        - `prefix` string
        - `protection_key` string
        - `status` string
        - `type` string
      - `payload` MockPayload
        - `vaults` string[]
    - `one_password_migrations` OnePasswordMigration[]
      - `general` MigrationGeneral
        - `id` string
        - `last_migration` string
        - `name` string
        - `new_name` string
        - `prefix` string
        - `protection_key` string
        - `status` string
        - `type` string
      - `payload` OnePasswordPayload
        - `email` string
        - `password` string
        - `secret_key` string
        - `url` string
        - `vaults` string[]
    - `server_inventory_migrations` ServerInventoryMigration[]
      - `general` MigrationGeneral
        - `id` string
        - `last_migration` string
        - `name` string
        - `new_name` string
        - `prefix` string
        - `protection_key` string
        - `status` string
        - `type` string
      - `payload` ServerInventoryPayload
        - `auto_rotate` boolean
        - `auto_rotate_interval_in_days` integer
        - `auto_rotate_rotation_hour` integer
        - `enable_rdp_sra` boolean
        - `migration_target_id` integer
        - `server_targets_path_template` string
        - `user_groups` string[]
        - `users_ignore_list` object
        - `users_rotated_secrets_path_template` string

## Other responses

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

---

[API](https://skmtc.net/akeyless/apis/akeyless-api.md) · [All operations](https://skmtc.net/akeyless/apis/akeyless-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/akeyless/akeyless-api/versions/0ceb25634501/schema)
