Snippet

Create New Snippet

Creates a new code snippet that can be reused across different sessions and servers.

put/snippet

Request

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

Request body

namestring required

Name (1-255 characters)

commandstring required

Command (minimum 1 characters)

descriptionstring nullable

Description

organizationIdinteger nullable

Organization id

osFilterstring[] nullable

Os filter

Response

Snippet successfully created with new snippet ID

object required

Changes

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