---
title: "Point production traffic to a previous production deployment by ID"
method: POST
path: "/v1/projects/{projectId}/rollback/{deploymentId}"
tags: ["projects"]
---

# Point production traffic to a previous production deployment by ID

`POST /v1/projects/{projectId}/rollback/{deploymentId}`

Allows users to rollback to a deployment.

## Path parameters

- `projectId` string, required
- `deploymentId` string, required — The ID of the deployment to rollback *to*

## Query parameters

- `description` string — The reason for the rollback
- `teamId` string
- `slug` string

## Response `201`

## Other responses

- `400` — One of the provided values in the request query is invalid.
- `401` — The request is not authorized.
- `402`
- `403` — You do not have permission to access this resource.
- `409`
- `410`
- `422`

---

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