---
title: "Restore Website"
method: POST
path: "/api/v1/websites/{website_id}/restore"
tags: ["Basics"]
---

# Restore Website

`POST /api/v1/websites/{website_id}/restore`

## Request

- Base URL: `https://api.athenahq.ai`
- URL: `https://api.athenahq.ai/api/v1/websites/{website_id}/restore`
- Auth: API key in header `x-api-key`

Restores a previously deleted website, reactivating processing and making it available again. All historical data is preserved. Requires a global API key. Idempotent: re-calling on an already active website returns 200.

## Response `200`

Website restored successfully

- object
  - `success` boolean, required
  - `message` string, required

## Other responses

- `400`: Bad request - Invalid UUID in path
- `401`: Unauthorized - Invalid or missing API key
- `403`: Forbidden - A global API key is required
- `404`: Not found - Website does not exist in this organization
- `500`: Internal server error

---

[API](https://skmtc.dev/athenahq/apis/athenahq-api.md) - [All operations](https://skmtc.dev/athenahq/apis/athenahq-api/llms.txt) - [OpenAPI document](https://skmtc.dev/athenahq/apis/athenahq-api/revisions/6cf9ca58edf6?raw)
