/snippets/:id

Updates a snippet

Path Params
string
required

Snippet Id

Query Params
string

(Optional) Pass expand=savedBy to expand savedBy to include id, name, and email of user who last saved this snippet.

Body Params
string

(Optional) Snippet subject. If name is empty when this is set, name will be automatically set to this value (as a convenience, as the UI only shows the name)

string

(Optional) Snippet name.

string

(Optional) Snippet source.

string

(Optional) Snippet custom shortcut for quick matching.

Response

Language
Credentials
Header
Request
Response
Choose an example:
application/json
Psst... like working with APIs? Come join us!