Snippets

Execute a snippet on a host

Executes a snippet on a specified host.

post/snippets/execute

Request body

snippetIdinteger
hostIdinteger
inputValuesobject

Optional resolved values for $INPUT_n placeholders in the snippet content, keyed by "INPUT_n". Host variables ($HOST, $USER, $PORT, $NAME) are resolved server-side per target host and do not need to be passed here.

Response

Snippet executed successfully.

Changes

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