sites

Take a site offline

Flip a published site back to draft. Every hostname stops serving once caches clear.

The safe direction, so plain sites:write suffices (and the agent Prepare profile includes it).

The published schema is kept, so re-publishing later is instant.

post/api/v1/sites/{id}/unpublish

Request

  • Base URL: https://app.blueticked.com
  • URL: https://app.blueticked.com/api/v1/sites/{id}/unpublish
  • Auth: HTTP bearer

Path parameters

idstring required

The resource's unique identifier.

Response

Success

Example response

{
  "site": {
    "id": "1d3dd43a-1f0a-4e83-ae13-4494e0d967b3",
    "business_id": "22222222-2222-4222-9222-222222222222",
    "slug": "aloe-ridge-guest-house",
    "status": "draft",
    "published_at": "2026-08-04T12:00:00.000Z",
    "created_at": "2026-07-20T09:00:00.000Z",
    "updated_at": "2026-08-05T08:30:00.000Z",
    "public_url": "https://aloe-ridge-guest-house.sites.blueticked.com"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.