Site lifecycle

archive_site

Archive a site so it stops serving traffic. Naturally idempotent: archiving an already-archived site returns changed:false and does not fire a cache purge. Requires editor role. Restore later with restore_site.

Behaviour

Effect
Write. It creates or updates data in the account.
Repeat calls
Idempotent. Repeating the same call produces the same result.
Plan
Available on every plan, including free.

Parameters

NameTypeRequiredDescription
request_idstringYes
site_iduuidYes

Returns

NameTypeDescription
site_iduuid
status"archived"
changedboolean
idempotency_replayfalse

Using it

archive_site is called by an AI assistant connected to Sentway over MCP, not by hand. Point the assistant at the Sentway MCP endpoint and complete the OAuth flow, and the tool becomes available in the same session as the other 38 Sentway tools. See connecting over MCP.