Skip to content

Update Snippet

PATCH
/snippet/{snippetId}

Updates an existing snippet's content, name, or other properties.

Authorizations

BearerAuth

Enter your session token to authenticate API requests

TypeHTTP (bearer)

Parameters

Path Parameters

snippetId*

The unique identifier of the snippet to update

Typestring
Required

Request Body

application/json
JSON
{
"name": "string",
"command": "string",
"description": "string"
}

Responses

Snippet successfully updated
application/json
JSON
{
}

Playground

Server
Authorization
Variables
Key
Value
Body

Samples

Powered by VitePress OpenAPI

Distributed under the MIT License