# Take the last upgrade of a template back, page by page. A person only

`POST /hosting/sites/{id}/templates/{tid}/upgrade/undo` · Rivier · hosting

Take the last upgrade of a template back, page by page. A person only.

- Scope: hosting:write
- Graphql: Mutation.hostingTemplateUpgradeUndo
- Sdk: hosting.template.upgradeUndo
- Cli: hosting template upgrade undo

## Parameters

- `id` (path, required), string
- `tid` (path, required), string

## Responses

- `200`: Success
- `400`: The request was malformed
- `401`: No valid credential
- `403`: The credential lacks the scope, origin or address
- `429`: Over the key's rate limit; see Retry-After

## Example

```sh
curl -X POST 'https://api.rivier.ai/hosting/sites/{id}/templates/{tid}/upgrade/undo' \
  -H 'Authorization: Bearer $KEY'
```
