---
title: "Revert a deployment"
method: POST
path: "/deployment-manager/deployments/{migrationId}/revert"
tags: ["Metadata Deployment"]
---

# Revert a deployment

`POST /deployment-manager/deployments/{migrationId}/revert`

Revert a deployment.

## Path parameters

- `migrationId` string, required

## Headers

- `Zuora-Entity-Ids` string

## Response `200`

OK

- object
  - `id` string — ID of the Deployment Manager migration process.
  - `name` string — Name of the Deployment Manager migration process.
  - `description` string — Description of the Deployment Manager migration process.
  - `sourceTenantName` string — Name of the source Tenant.
  - `sourceTenantDescription` string — Description of the source Tenant.
  - `status` 'DEPLOYING' | 'REVERTING' | 'PARTIALLY-REVERTED' | 'FAILED' | 'ROLLBACK-FAILED' | 'REVERTED' | 'COMPARING' | 'SUBMITTED' | 'SKIPPED' | 'IDENTICAL' | 'COMPARE-DONE' | 'COMPARE-FAILED' | 'CANCELLED' — Status of the Deployment Manager migration process.
  - `startTime` string — start timestamp of the Deployment Manager migration process.
  - `endTime` string — end timestamp of the Deployment Manager migration process.
  - `migratedBy` string — User who initiated the Deployment Manager migration process.
  - `type` string — Type of the Deployment Manager migration process.
  - `environment` string — Environment of the Deployment Manager migration process.
  - `emailIds` string — emailIds notified of the Deployment Manager migration process.
  - `productCatalog` boolean — Boolean flag specifies if the migration process includes product catalog module.
  - `errors` string — Errors of the Deployment Manager migration process.

---

[API](https://skmtc.dev/zuora/apis/api-reference.md) · [All operations](https://skmtc.dev/zuora/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/zuora/api-reference/revisions/d11e237f3e54/schema)
