---
title: "Restore an archived test case"
method: POST
path: "/api/cases/{caseId}/restore"
tags: ["Test Cases"]
---

# Restore an archived test case

`POST /api/cases/{caseId}/restore`

## Request

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

Restores an archived test case, returning it to case lists, directory
counts, and plan membership. Idempotent: restoring a case that is not
archived succeeds without changing anything. A case whose directory was
deleted while it was archived returns to the project root.

## Path parameters

- `caseId` string, uuid, required

## Response `200`

Case restored.

- object
  - `restored` boolean, required

## Other responses

- `400`: Invalid case ID.
- `401`: Missing or invalid API key.
- `404`: Case 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)
