---
title: "Roll back to a revision"
method: POST
path: "/api/v1/functions/{function_id}/rollback"
tags: ["Functions"]
---

# Roll back to a revision

`POST /api/v1/functions/{function_id}/rollback`

Re-deploys the target revision's image — no rebuild, zero downtime.

## Path parameters

- `function_id` string, required

## Request body

- object
  - `revision_id` string, uuid, required

## Response `200`

Rollback deployment queued

## Other responses

- `400` — Invalid request parameters
- `401` — Authentication required
- `404` — Resource not found

## Changes

- **2026-08-20** `efd3c11c5c92` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/rafftechnologies/apis/raff-api/changes/api/v1/functions/:function_id/rollback/post.md)

---

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