Infra APIEnvd
Write file
Writes a file to a VM (content must be base64-encoded)
POST
/api/v1/vms/{vm_id}/envd/writeWrites a file to a VM (content must be base64-encoded)
Authorization
BearerAuth AuthorizationBearer <token>
Supabase JWT Bearer token
In: header
Path Parameters
vm_id*string
VM ID
Request Body
application/json
File content (base64)
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/v1/vms/string/envd/write" \ -H "Content-Type: application/json" \ -d '{}'{ "path": "string", "success": true, "vm_id": "string"}{ "error": "string", "message": "string"}{ "error": "string", "message": "string"}{ "error": "string", "message": "string"}