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

# POST /v1/{+name}:rollback

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

Creates a new schema revision that is a copy of the provided revision_id.

## Path parameters

- `name` string, required

## Request body

- RollbackSchemaRequest — Request for the `RollbackSchema` method.
  - `revisionId` string — Required. The revision ID to roll back to. It must be a revision of the same schema. Example: c7cfa2a8

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/pubsub.md) · [All operations](https://skmtc.net/google/apis/pubsub/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/pubsub/versions/bf72396b5785/schema)
