---
title: "Restore an archived task template"
method: POST
path: "/api/admin/task-templates/{id}/restore"
tags: ["Admin - Task Templates"]
---

# Restore an archived task template

`POST /api/admin/task-templates/{id}/restore`

## Request

- Base URL: `https://api.production.yourmedley.com`
- URL: `https://api.production.yourmedley.com/api/admin/task-templates/{id}/restore`
- Auth: none declared

Restore a previously archived task template. Admin only.

## Path parameters

- `id` string, uuid, required

## Response `200`

Task template restored

- object
  - `success` boolean
  - `data` object
    - `restored` boolean

## Other responses

- `401`: Unauthorized
- `404`: Task template not found
- `500`: Internal server error

---

[API](https://skmtc.dev/withmedley/apis/medley-api.md) - [All operations](https://skmtc.dev/withmedley/apis/medley-api/llms.txt) - [OpenAPI document](https://skmtc.dev/withmedley/apis/medley-api/revisions/40aaac5ca6bd?raw)
