v1

latestOpenAPI 3.1.02026-07-242470655.6 KB

Update Snippet

Update a specific site-wide HTML on a site.

patch/sites/multiscreen/{site_name}/snippets/{id}

Path parameters

site_namestring required

A valid site name of an existing website

idstring required

The unique identifier for the Site-Wide HTML content.

Request body

location'BODY' | 'HEADER' | 'CONTENT_END' | 'BEFORE_SCRIPTS'

Location of where the code will be added in the website.

markupstring

The raw HTML you want to embed into the site.

Response

200

idstring

Example response

{
  "id": "string"
}