---
title: "Migrate case instance"
method: POST
path: "/cmmn-runtime/case-instances/{caseInstanceId}/migrate"
tags: ["Case Instances"]
---

# Migrate case instance

`POST /cmmn-runtime/case-instances/{caseInstanceId}/migrate`

## Request

- Base URL: `https://developer-docs.flowable.com/cmmn-api`
- URL: `https://developer-docs.flowable.com/cmmn-api/cmmn-runtime/case-instances/{caseInstanceId}/migrate`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/flowable/apis/flowable-cmmn-rest-api/docs/cmmn-runtime/case-instances/:caseInstanceId/migrate/post.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `caseInstanceId` string, required

## Request body

- string

## Response `200`

Indicates the case instance was found and migration was executed.

## Other responses

- `404`: Indicates the requested case instance was not found.
- `409`: Indicates the requested case instance action cannot be executed since the case-instance is already activated/suspended.

---

[API](https://skmtc.dev/flowable/apis/flowable-cmmn-rest-api.md) - [All operations](https://skmtc.dev/flowable/apis/flowable-cmmn-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/flowable/apis/flowable-cmmn-rest-api/revisions/afdfa1fcacd0?raw)
