Sazabi
APISandbox environment variables

Upsert sandbox environment variables

POST
/sandbox-environment-variables

Set or update custom sandbox environment variables for a project. Merges provided variables with existing ones. Values are encrypted server-side and never returned.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/sandbox-environment-variables" \  -H "Content-Type: application/json" \  -d '{    "environmentVariables": [      {        "key": "string",        "value": "string"      }    ]  }'
{  "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8",  "environmentVariables": [    {      "key": "string"    }  ]}