Skip to main content
PUT
Update a snippet

Authorizations

Authorization
string
header
required

API key authentication using Bearer token. Include your API key in the Authorization header.

Query Parameters

id
string<uuid>
required

The ID of the snippet to update

Body

application/json
title
string
Maximum string length: 200
note
string
Maximum string length: 5000
shortcut
string
Maximum string length: 100
folderId
string<uuid> | null
tagIds
string<uuid>[]
content
object
isArchived
boolean

Response

Snippet updated successfully

success
boolean
Example:

true

data
object
usage
object
metadata
object