> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ariacompute.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Rollback Wiki Page - POST /v1/workspaces/:workspace_id/wiki/:page_id/rollback

> Roll a wiki page back to a historical revision via POST /v1/workspaces/:workspace_id/wiki/:page_id/rollback. Minimum role contributor.

Roll a wiki page back to a historical revision (the rollback itself also creates a new revision number).

## Endpoint

```http theme={null}
POST /v1/workspaces/:workspace_id/wiki/:page_id/rollback
```

## Authentication

`Authorization: Bearer <jwt>` or `X-API-Key <sk_...>`. Minimum role: **contributor**.

## Path parameters

**workspace\_id** `string` *required*

Workspace id.

**page\_id** `string` *required*

Page id.

## Request body

**rev** `integer`

Target revision number to roll back to.

## Response

**rolled\_back** `boolean`

Always true (rolled back).

## Example

```bash cURL theme={null}
curl -X POST https://memo.ariacompute.com/v1/workspaces/ws_01a2b3c4d5e6/wiki/wiki_01a2b3c4d5e6/rollback \
  -H "Authorization: Bearer <jwt>" \
  -H "Content-Type: application/json" \
  -d '{"rev":1}'
```

```json 200 theme={null}
{
  "rolled_back": true
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.