v29

latestOpenAPI 3.1.2raw.githubusercontent.com2026-08-014117755.2 KB
Settings

Set Trusted Preview Hosts

Sets the host patterns trusted to embed previews for a standalone team or parent organization. Organization child teams cannot override this setting.

put/settings/preview-hosts

Request body

hostsstring[] required

The complete list of exact or wildcard hostname patterns trusted to embed previews. Provide hostnames only, without a scheme, port, path, userinfo, query string, or fragment. Use *.example.com for exactly one subdomain label and **.example.com for one or more. Wildcards do not include example.com itself; add the apex as a separate entry when needed.

Response

Response for status 200

hostsstring[] required

Canonicalized hostname patterns trusted to embed previews. Exact hosts match only themselves; *.example.com matches exactly one subdomain label; **.example.com matches one or more subdomain labels. Wildcards do not include the apex, so list example.com separately when it should also be trusted.