Skip to main content
POST
Archive a portal

Authorizations

Authorization
string
header
required

An API key, sent as Authorization: Bearer stfy_live_…. See Authentication for how to get one and which scopes it needs.

Path Parameters

portal_id
string<uuid>
required

The portal's id, as GET /v1/portals (or the portal_list MCP tool) returns it

Body

application/json
unpublish
boolean
default:false

Also take it offline: its live addresses stop serving and custom domains are removed

Response

200 - application/json

Successful Response

domains_removing
string[]
required

Custom domains whose certificate could not be taken down yet: they no longer serve the portal, and are removed shortly

hosts_removed
integer
required
unpublished
boolean
required
status
string
default:archived
Allowed value: "archived"