Skip to main content
POST
Block or unblock a storefront hostname

Authorizations

Authorization
string
header
required

Bearer token: a shop API key (WEAVERSE_API_KEY), a scoped API key or a delegated MCP OAuth token; translation-unit routes also accept a project-bound translation agent token. Each operation lists the scope it requires; the scope table is in the API description.

Path Parameters

projectId
string
required

Body

application/json
hostname
string
required
blocked
boolean
required
confirm
string
required

Must equal the hostname

Response

Policy applied (propagationSeconds)

The response is of type object.