---
title: "apply_migration"
description: "Generated reference for the management action apply_migration: its description, access metadata, payload contract, and registration status."
slug: /reference/actions/apply-migration
order: 34
visibility: public
redirects_from: []
---

# apply\_migration

Generated automatically from the [published contract sources](/cloud/reference/about/#contract-sources).

This action is not implemented. Its reserved HTTP route is `POST https://tzcloud.turnzero.ai/v1/apply_migration`, which returns 501 `not_yet_provisioned`. It is not listed as an MCP tool.

**Build metadata:** Not registered in this build. Registration describes the default dispatcher in this build. It does not guarantee that a caller has the required credential or grant, that a tool is listed for that connection, or that the required service is configured.

## Contract description

Apply database migrations to an environment\. No build serves this action yet: your tool list leaves it out, and the management route returns 501 `not_yet_provisioned`\.

## Access and action metadata

```json
{
  "name": "apply_migration",
  "resource": "environment",
  "tier": "reversible",
  "surface": "tzcloud",
  "addresses": [],
  "product": "cloud",
  "summary": "The migration action: drain, snapshot, apply, atomic resume.",
  "annotations": {
    "readOnlyHint": false,
    "destructiveHint": true,
    "openWorldHint": false
  }
}
```

## MCP catalog entry

```json
{
  "name": "apply_migration",
  "title": "Apply database migration",
  "tier": "reversible",
  "scenario": "CHI-L0-13",
  "summary": "Apply database migrations to an environment. No build serves this action yet: your tool list leaves it out, and the management route returns 501 `not_yet_provisioned`.",
  "owners": [
    "PLD-L0-56"
  ]
}
```

No payload contract is indexed for this action. No request or response shape is inferred here.

## Shared contracts

- [Refusals](/cloud/reference/refusals/): every refusal, by surface, with its cause and its remedy
- [schemas/wire\_error\.schema\.json](/cloud/reference/sources/schemas/wire-error-schema/)
- [schemas/wire\_errors\.json](/cloud/reference/sources/schemas/wire-errors/)
- [schemas/action\_payloads\.json](/cloud/reference/sources/schemas/action-payloads/) (includes shared shapes)
- [management\_api\_contract\.md](/cloud/reference/sources/management-api-contract/)
