Skip to main content
PUT
Update a snippet

Authorizations

X-Kit-Api-Key
string
header
required

Authenticate API requests via an API Key

Path Parameters

id
integer
required

Body

application/json
name
string

New name for the snippet

snippet_type
string

Cannot be changed — must match the existing type if provided

archived
boolean

Pass true to archive or false to restore the snippet

content
string

New Liquid-enabled text content

Response

Updates the snippet and returns its details

snippet
object
required