---
title: "Put Website Publishing"
method: PUT
path: "/api/v1/website/properties/{property_id}/publishing"
tags: ["website"]
---

# Put Website Publishing

`PUT /api/v1/website/properties/{property_id}/publishing`

## Request

- Base URL: `https://api.getanana.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.getanana.com/api/v1/website/properties/{property_id}/publishing`
- Auth: none declared

Say where this hotel's domain is edited. Every hotel on the domain shares it.

## Path parameters

- `property_id` string, uuid, required

## Request body

- WebsitePublishingUpdate
  - `publisher` 'wordpress' | 'github' | 'elsewhere', required: Where a website is edited. ``ELSEWHERE`` is a platform Anana cannot write to; no row at all means nobody has said yet.

## Response `200`

Successful Response

- WebsitePublishing
  - `hostname` string, nullable, required
  - `path_prefix` string, nullable, required
  - `publisher` 'wordpress' | 'github' | 'elsewhere', required: Where a website is edited. ``ELSEWHERE`` is a platform Anana cannot write to; no row at all means nobody has said yet.
  - `connection_state` 'unavailable' | 'connected' | 'not_connected' | 'awaiting_approval' | 'needs_reconnect' | 'needs_repository' | 'site_mismatch', required
  - `connection_label` string, nullable, required

## Other responses

- `403`: Error
- `404`: Error
- `422`: Error

## Changes

> 92 revisions in range; 1 not diffed.

- **2026-11-14** `95b3fa50dd0b`: 1 warning
  - added the new `awaiting_approval` enum value to the `connection_state/anyOf[subschema #1: PublishingConnectionState]/` response property for the response status `200`
- **2026-11-12** `e9f918786e38`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/getanana/apis/cleon-api/changes/api/v1/website/properties/:property_id/publishing/put.md)

---

[API](https://skmtc.dev/getanana/apis/cleon-api.md) - [All operations](https://skmtc.dev/getanana/apis/cleon-api/llms.txt) - [OpenAPI document](https://skmtc.dev/getanana/apis/cleon-api/revisions/db649c413b8c?raw)
