---
title: "Archive a workspace"
method: DELETE
path: "/v1/account/workspaces/{workspaceId}"
tags: ["WorkspaceAdminService", "Workspace Admin"]
---

# Archive a workspace

`DELETE /v1/account/workspaces/{workspaceId}`

Archives a workspace (soft delete). The workspace is retained, but any subsequent request scoped to it returns a permission error. Archiving the account's last active (non-archived) workspace is not allowed and returns FailedPrecondition. Admin only.

## Path parameters

- `workspaceId` string, required

## Response `200`

OK

## Other responses

- `default` — Default error response

## Changes

- **2026-06-05** `4648e10e0256` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/cadenya/apis/cadenya-api/changes/v1/account/workspaces/:workspaceId/delete.md)

---

[API](https://skmtc.dev/cadenya/apis/cadenya-api.md) · [All operations](https://skmtc.dev/cadenya/apis/cadenya-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/cadenya/cadenya-api/revisions/ac1a7f084068/schema)
