1. Workspaces
Litehost Connect API
  • System
    • Health check
      GET
    • API info
      GET
  • User
    • Get current user
      GET
  • Projects
    • List projects
      GET
    • Create project
      POST
    • Get project
      GET
    • Push new version
      PUT
    • Update project settings
      PATCH
    • Delete project
      DELETE
    • Get deployment history
      GET
    • Toggle archive
      POST
  • Domains
    • List domains
      GET
    • Get domain
      GET
  • Workspaces
    • List workspaces
      GET
    • Create workspace
      POST
    • Rename workspace
      PATCH
    • Delete workspace
      DELETE
  • Schemas
    • Project
    • Deployment
    • Domain
    • DomainDetail
    • WorkspaceSummary
    • ErrorResponse
    • SuccessResponse
  1. Workspaces

Delete workspace

DELETE
/v1/workspaces/{workspaceId}
Deletes the workspace. Projects inside the workspace are not deleted — their workspaceId is set to null and they become part of the personal space.

Request

Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
or
Path Params

Responses

🟢200
application/json
Workspace deleted
Body

🟠401
🟠404
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request DELETE 'https://connect.litehost.io/v1/workspaces/' \
--header 'Authorization: Bearer <token>'
Response Response Example
200 - Example 1
{
    "status": "success",
    "data": {
        "deleted": true
    }
}
Modified at 2026-04-01 05:58:58
Previous
Rename workspace
Next
Project
Built with