---
title: "Stop Migration"
method: PUT
path: "/ocean/azure/np/cluster/{oceanClusterId}/migration/{migrationId}/stop"
tags: ["Ocean AKS"]
---

# Stop Migration

`PUT /ocean/azure/np/cluster/{oceanClusterId}/migration/{migrationId}/stop`

## Request

- Base URL: `https://api.spotinst.io`
- URL: `https://api.spotinst.io/ocean/azure/np/cluster/{oceanClusterId}/migration/{migrationId}/stop`
- Auth: HTTP bearer

Stop a migration of an Ocean cluster.

*Performing the request will stop the next batch in a migration.*

## Parameters

- `#/paths/~1azure~1costs/get/parameters/0` (unresolved $ref)
- `#/paths/~1ocean~1aws~1k8s~1cluster~1%7BoceanClusterId%7D/get/parameters/1` (unresolved $ref)
- `#/paths/~1ocean~1azure~1np~1cluster~1%7BoceanClusterId%7D~1migration~1%7BmigrationId%7D/get/parameters/2` (unresolved $ref)

## Other responses

- `400`: Bad Request

---

[API](https://skmtc.dev/spot/apis/spot-by-flexera-api.md) - [All operations](https://skmtc.dev/spot/apis/spot-by-flexera-api/llms.txt) - [OpenAPI document](https://skmtc.dev/spot/apis/spot-by-flexera-api/revisions/f7e206fa6474?raw)
