---
title: "Archive a phase"
method: POST
path: "/admin/phases/{id}/archive"
tags: ["Task Phases"]
---

# Archive a phase

`POST /admin/phases/{id}/archive`

## Request

- Base URL: `https://api.production.yourmedley.com`
- URL: `https://api.production.yourmedley.com/admin/phases/{id}/archive`
- Auth: HTTP bearer

Archive a task phase (soft hide without deleting)

## Path parameters

- `id` string, uuid, required

## Response `200`

Phase archived successfully

- object
  - `success` boolean
  - `data` object
    - `archived` boolean

## Other responses

- `401`: Unauthorized
- `404`: Phase not found

---

[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)
