---
title: "POST /v1/{+name}:rollback"
method: POST
path: "/v1/{+name}:rollback"
tags: ["projects"]
---

# POST /v1/{+name}:rollback

`POST /v1/{+name}:rollback`

Sets the current revision to a specified prior revision. Note that this creates a new revision with a new revision ID.

## Path parameters

- `name` string, required

## Request body

- RollbackApiDeploymentRequest — Request message for RollbackApiDeployment.
  - `revisionId` string — Required. The revision ID to roll back to. It must be a revision of the same deployment. Example: `c7cfa2a8`

## Response `200`

Successful response

---

[API](https://skmtc.dev/google/apis/apigeeregistry.md) · [All operations](https://skmtc.dev/google/apis/apigeeregistry/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/google/apigeeregistry/revisions/77286e0fad42/schema)
