1. Projects
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
    • Archive project
      POST
    • Unarchive project
      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. Projects

Archive project

POST
/v1/projects/{projectId}/archive
Archives the project. Archived projects are excluded from the active quota (project count and storage). This endpoint is idempotent — if the project is already archived a success response is returned immediately with no changes.

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
Project archived (or was already archived)
Body

🟠401
🟠404
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://connect.litehost.io/v1/projects//archive' \
--header 'Authorization: Bearer <token>'
Response Response Example
200 - Example 1
{
    "status": "success",
    "data": {
        "archived": true
    }
}
Modified at 2026-04-01 12:03:08
Previous
Get deployment history
Next
Unarchive project
Built with