---
title: "Enqueue Channel Rewind"
method: POST
path: "/apps/{app_id}/channels/{channel_id}/rewind"
---

# Enqueue Channel Rewind

`POST /apps/{app_id}/channels/{channel_id}/rewind`

## Request

- Base URL: `https://api.xhostd.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.xhostd.com/apps/{app_id}/channels/{channel_id}/rewind`
- Auth: none declared

Instant one-step rewind to the channel's previous deploy image.

Boots the immediately-previous retained image directly (no build,
no git sync, no snapshot) via the deploy dispatcher, so it can't race a
concurrent deploy/move on the same channel. "Previous" is the newest
``success`` deploy whose SHA differs from the channel's current one.
Refused for ``static`` apps (no built image) and when the channel
has only ever deployed one SHA.

## Path parameters

- `app_id` string, uuid, required
- `channel_id` string, uuid, required

## Headers

- `authorization` string, nullable

## Response `200`

Successful Response

- DeployResponse
  - `deploy_id` string, uuid, required
  - `channel_id` string, uuid, required
  - `status` string, required
  - `joined` boolean

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/xhostd/apis/xhostd-public.md) · [All operations](https://skmtc.dev/xhostd/apis/xhostd-public/llms.txt) · [OpenAPI document](https://skmtc.dev/xhostd/apis/xhostd-public/revisions/bf439c4d1789?raw)
