cURL
Post apiv1vm exec
POST
cURL
Documentation Index
Fetch the complete documentation index at: https://docs.vers.sh/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
VM ID
Body
application/json
Request body for POST /api/vm/{vm_id}/exec
Command and arguments to execute.
Optional environment variables to set for the process.
Optional exec identifier for tracking.
Optional stdin payload passed to the command.
Timeout in seconds (0 = no timeout).
Required range:
x >= 0Optional working directory for the command.
Response
Command executed successfully