Infra APIVm env

Replace VM env vars

PUT/api/v1/vms/{vm_id}/env

Authorization

BearerAuth
AuthorizationBearer <token>

Supabase JWT Bearer token

In: header

Path Parameters

vm_id*string

VM ID

Query Parameters

visibility?string

plaintext|sensitive|secret (default sensitive)

Request Body

application/json

KEY=VALUE map

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X PUT "https://example.com/api/v1/vms/string/env" \  -H "Content-Type: application/json" \  -d '{    "property1": "string",    "property2": "string"  }'
{  "env": {},  "warning": "string"}
{  "error": "string",  "message": "string"}