Skip to content

API reference

Reopen a closed workspace

Other routes API

DELETE/v1/workspace/closure

Reopens the workspace before the day it would be deleted. Nothing is lost and it processes again. Reopening an open workspace changes nothing. Only an owner, signed in, can reopen it.

Response

A 200 answer carries these fields.

  • closedbooleanRequired
  • closedAtstring (date-time)

    When an owner closed it. Only when closed.

  • deletesAtstring (date-time)

    The first day its data may be deleted, 30 days after closing. An invoice of a live company inside its eight years of retention that was not downloaded in the whole-workspace download or its evidence bundle keeps the workspace until those years end. Only when closed.

Status codes

Status Meaning
200 The workspace is open.
401 No usable credential was sent (invalid_credentials), or an API key was used (session_required).
403 The person is not an owner of this workspace (role_required). Nothing was done.
501 This deployment has no database (no_database). Sending the same request again will not help.
DELETE/v1/workspace/closure
Example
curl -X DELETE https://api.certinvo.com/v1/workspace/closure \
  -H "Authorization: Bearer $CERTINVO_API_KEY"
const response = await fetch(`https://api.certinvo.com/v1/workspace/closure`, {
  method: 'DELETE',
  headers: {
    Authorization: `Bearer ${process.env.CERTINVO_API_KEY}`,
  },
})
console.log(response.status, await response.json())
import os

import requests

response = requests.delete(
    "https://api.certinvo.com/v1/workspace/closure",
    headers={"Authorization": f"Bearer {os.environ['CERTINVO_API_KEY']}"},
)
print(response.status_code, response.text)
200
application/json
{
  "closed": true,
  "closedAt": "2026-09-17T09:30:00Z",
  "deletesAt": "2026-09-17T09:30:00Z"
}
Success response
DELETE
/v1/workspace/closure
Reopen a closed workspace
All
›AuthenticationRequiredBearerAuth

Provide your API key in the Authorization: Bearer <key> header. Keys are stored locally in your browser.

›Headers2
›Code Snippet
curl -X DELETE "https://api.certinvo.com/v1/workspace/closure" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json"
Response

No request sent yet

Configure parameters and click Send to view the response.

Navigation

Type to search…

↑↓ navigate↵ selectEsc close