Run sandbox command

http
POST /sandboxes/{sandbox_id}/commands/run

Run a sandbox command. Requires project.sandboxes.manage.

Parameters

NameInRequiredDescription
sandbox_idpathYesSandbox UUID, as returned by createSandbox.

Request body

FieldTypeRequiredDescription
commandstringYes
cwdstring
timeout_secondsinteger
envobject

Responses

StatusDescription
200Result of the short-lived command.
400Bad request
402Payment required
403Forbidden
404Not found
502Bad gateway
503Service unavailable