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

Type
HTTP (bearer)

Parameters

Path Parameters

snippetId*

The unique identifier of the snippet to update

Type
string
Required

Query Parameters

organizationId

Optional: Organization ID if updating organization snippet

Type
string

Request Body

application/json
JSON
"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