PLATINUM DOCS
ApiSandboxes

Run a command (argv, no shell)

POST
/v1/sandboxes/{id}/exec

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/v1/sandboxes/string/exec" \  -H "Content-Type: application/json" \  -d '{    "cmd": "string"  }'
{  "result": {    "stdout": "string",    "stderr": "string",    "exit_code": 0,    "error": "string"  },  "error": "string"}
Empty