Snippet

Update Snippet

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

patch/snippet/{snippetId}

Request

  • Base URL: https://docs.nexterm.dev/api
  • URL: https://docs.nexterm.dev/api/snippet/{snippetId}
  • Auth: HTTP bearer

Path parameters

snippetIdstring required

The unique identifier of the snippet to update

Query parameters

organizationIdstring

Optional: Organization ID if updating organization snippet

Request body

namestring

Name (1-255 characters)

commandstring

Command (minimum 1 characters)

descriptionstring nullable

Description

osFilterstring[] nullable

Os filter

Response

Snippet successfully updated

object required

Changes

No recorded changes to this operation across all 1 revision of this API.