---
title: "POST /gateway-migrate-personal-items"
method: POST
path: "/gateway-migrate-personal-items"
tags: ["v2"]
---

# POST /gateway-migrate-personal-items

`POST /gateway-migrate-personal-items`

## Request body

- GatewayMigratePersonalItems — gatewayMigratePersonalItems is a command that migrate personal items from external vault
  - `1password-email` string — 1Password user email to connect to the API
  - `1password-password` string — 1Password user password to connect to the API
  - `1password-secret-key` string — 1Password user secret key to connect to the API
  - `1password-url` string — 1Password api container url
  - `1password-vaults` string[] — 1Password list of vault to get the items from
  - `json` boolean — Set output format to JSON
  - `protection-key` string — The name of a key that used to encrypt the secret value
  - `target-location` string — Target location in your Akeyless personal folder for migrated secrets
  - `token` string — Authentication token (see `/auth` and `/configure`)
  - `type` string — Migration type for now only 1password.
  - `uid-token` string — The universal identity token, Required only for universal_identity authentication

## Response `200`

gatewayMigratePersonalItemsResponse wraps response body.

- GatewayMigratePersonalItemsOutput
  - `migration_items` MigrationItems
    - `failed` integer
    - `migrated` integer
    - `skipped` integer
    - `total` integer
    - `updated` integer

## 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)
