---
title: "Restore an archived test plan"
method: POST
path: "/api/plans/{planId}/restore"
tags: ["Test Plans"]
---

# Restore an archived test plan

`POST /api/plans/{planId}/restore`

## Request

- Base URL: `https://aximo.autify.com`
- URL: `https://aximo.autify.com/api/plans/{planId}/restore`
- Auth: API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/autify/apis/aximo-api/docs/api/plans/:planId/restore/post.ts> (a function with typed inputs; its response is checked against the schema)

Restores an archived test plan, returning it to plan lists. Its schedule
is left exactly as configured, because archiving never disabled it.
Idempotent: restoring a plan that is not archived succeeds without
changing anything.

## Path parameters

- `planId` string, uuid, required

## Response `200`

Plan restored.

- object
  - `restored` boolean, required

## Other responses

- `400`: Invalid plan ID.
- `401`: Missing or invalid API key.
- `404`: Plan not found.
- `429`: Rate limit exceeded — e.g. the daily session limit was reached for the organization, or too many API requests were sent in a short window (retry after the number of seconds in the `Retry-After` header).
- `500`: Unexpected server error.

---

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