Archive the project if active, or unarchive if already archived. When unarchiving, the plan's active project count and storage limits are checked — if either is exceeded the request is rejected with 403. Archived projects do not count toward quota.
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
Archive state toggled
Body
🟠401
🟠403
🟠404
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request POST 'https://connect.litehost.io/v1/projects//archive' \
--header'Authorization: Bearer <token>'