---
title: "Soft-delete a workspace (admin only, requires name confirmation)"
method: DELETE
path: "/api/workspaces/{workspace_id}"
tags: ["workspaces"]
---

# Soft-delete a workspace (admin only, requires name confirmation)

`DELETE /api/workspaces/{workspace_id}`

## Request

- Base URL: `https://api.hillstar.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.hillstar.ai/api/workspaces/{workspace_id}`
- Auth: none declared

## Path parameters

- `workspace_id` integer, required: Workspace ID

## Request body

- WorkspaceDeleteRequest
  - `$schema` string, uri: A URL to the JSON Schema for this object.
  - `name_confirmation` string, required

## Response `204`

No Content

## Other responses

- `default`: Error

---

[API](https://skmtc.dev/hillstar/apis/rfpai-api-go.md) - [All operations](https://skmtc.dev/hillstar/apis/rfpai-api-go/llms.txt) - [OpenAPI document](https://skmtc.dev/hillstar/apis/rfpai-api-go/revisions/b2532dc47fc6?raw)
