---
title: "Archive a workspace."
method: POST
path: "/v0/workspaces/{workspaceId}/archive"
tags: ["Workspaces"]
---

# Archive a workspace.

`POST /v0/workspaces/{workspaceId}/archive`

## Request

- Base URL: `https://api.conductor.build` (the document declares no server; this is the origin it was published from)
- URL: `https://api.conductor.build/v0/workspaces/{workspaceId}/archive`
- Auth: HTTP bearer

Stop the workspace and hide it in the app. Idempotent; the workspace can be restored later.

## Path parameters

- `workspaceId` string, required

## Response `200`

Default Response

- object
  - `workspaceId` string, required
  - `status` 'archived', required

## Other responses

- `400`: Invalid request.
- `401`: Missing or invalid bearer token.
- `404`: Resource not found.
- `default`: Error response.

---

[API](https://skmtc.dev/conductor-build/apis/roundhouse-public-api.md) - [All operations](https://skmtc.dev/conductor-build/apis/roundhouse-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/conductor-build/apis/roundhouse-public-api/revisions/1f39c7f7f219?raw)
