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

---

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