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

# POST /gateway-delete-migration

`POST /gateway-delete-migration`

## Request

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

## Request body

- GatewayDeleteMigration: gatewayDeleteMigration is a command that delete migration
  - `id` string, required: Migration ID
  - `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`

gatewayMigrationDeleteResponse wraps response body.

- GatewayMigrationDeleteOutput
  - `migration_id` 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)
