Skip to main content
DELETE
Delete a site route preview

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

site_id
string<uuid>
required

The ID of the site

preview_id
string<uuid>
required

The ID of the route preview to delete

Response

The deleted route preview

id
string<uuid>
required
route
string
required

The site route this preview applies to. Stored and matched in canonical form: hash-router prefixes ('#/'), query strings, and surrounding slashes are stripped, so '/clip/intro', 'clip/intro/', and '#/clip/intro' all name the same route. Must not be empty after canonicalization — the site root unfurls with the site-level preview fields.

Maximum string length: 512
Example:

"clip/intro-to-x"

previewShareId
string<uuid>
required

The route's hero share: what a link to this page plays when unfurled by the Cloudglue Slack app. Must be a video share owned by the same account; on a public site it must be a public share.

createdAt
string<date-time>
required
updatedAt
string<date-time>
required
previewTitle
string | null

Preview card title. Falls back to the hero share's own title (then its filename) when unset.

previewDescription
string | null

Preview card description. Falls back to the hero share's own description when unset. Slack truncates at 200 characters.

Maximum string length: 1000
previewImageUrl
string<uri> | null

Preview card image. Must be a publicly fetchable URL (e.g. a share's preview_url) — site asset URLs sit behind the private-site gate and won't render. Falls back to the hero share's thumbnail when unset.

startSeconds
number | null

Clip window start, in seconds (fractional allowed). Requires endSeconds; the unfurled player then plays only the [startSeconds, endSeconds] window of the hero share. Precision note: the stream is trimmed with Mux instant clipping, which cuts at the asset's HLS segment boundaries (start rounds down, end rounds up) — not frame-accurate, so the served clip can include a few extra seconds on either side depending on the asset's segment length.

Required range: x >= 0
endSeconds
number | null

Clip window end, in seconds (fractional allowed). Requires startSeconds and must be greater than it. Served at HLS segment granularity — see startSeconds.