---
title: "Roll back a service."
method: POST
path: "/v1/run/services/{id}/rollback"
tags: ["Compute"]
---

# Roll back a service.

`POST /v1/run/services/{id}/rollback`

## Request

- Base URL: `https://api.scalix.world`
- URL: `https://api.scalix.world/v1/run/services/{id}/rollback`
- Auth: HTTP bearer

Rolls a Scalix Run service back to a previous revision.

## Path parameters

- `id` string, required

## Request body

- object

## Response `200`

Service rolled back

## Other responses

- `401`: Missing or invalid API key
- `500`: Internal error

---

[API](https://skmtc.dev/scalix/apis/scalix-cloud-api.md) · [All operations](https://skmtc.dev/scalix/apis/scalix-cloud-api/llms.txt) · [OpenAPI document](https://skmtc.dev/scalix/apis/scalix-cloud-api/revisions/2c04ca0a90bb?raw)
