Docs
Checklists

Unpublish a checklist

POST/checklists/{id}/unpublishNeedscontent.edit

Stops serving the item in an environment. The draft and versions stay; publish again to bring it back.

Authorization

secretKey
headerAuthorizationBearer <sk_…>

A secret API key from Settings → API keys. It acts with its creator's role.

Path Parameters

id*integer

The checklist's id.

Range1 <= value

Request Body

application/json
  1. body
environment*string

production (everyone matching sees it) or staging (only pages using the staging key).

Value in"production""staging"

Response Body

OK

application/json
  1. response
publication*

Which version each environment serves. null = not published there.

Shell
curl -X POST 'https://app.cueston.com/api/checklists/1/unpublish' \
  -H 'Content-Type: application/json' \
  -d '{
  "environment": "production"
}'
Example Response
JSON
{
  "publication": {
    "production": {
      "versionId": 7,
      "version": 3,
      "publishedAt": "2026-10-26T09:30:00Z"
    },
    "staging": {
      "versionId": 7,
      "version": 3,
      "publishedAt": "2026-10-26T09:30:00Z"
    }
  }
}