Skip to main content

Run a snippet on a host over SSH

POST 

/plugin-api/snippets/execute

Needs no snippets.* permission beyond an accessible snippet and host - running one has never required a separate grant.

Request​

Responses​

Snippet ran. A nonzero exit is not an error here: success is false, exitCode holds the code (null if the host sent none) and output/error carry what the command printed.