Ellipsis APIReferenceSandbox variables

Put Sandbox Variables

Upsert sandbox variables. Values are write-only: the response carries only names and timestamps. Refused for sandbox tokens (held by potentially-untrusted in-sandbox code); mutations require an API key or user token.

PUT
/v1/variables

Upsert sandbox variables.

Values are write-only: the response carries only names and timestamps. Refused for sandbox tokens (held by potentially-untrusted in-sandbox code); mutations require an API key or user token.

Authorization

HTTPBearer
AuthorizationBearer <token>

In: header

Header Parameters

user-agent?string|null

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Store environment variables for the account's sandboxes. Each variable is upserted by name: existing names are overwritten.

Response Body

application/json

application/json

curl -X PUT "https://example.com/v1/variables" \  -H "Content-Type: application/json" \  -d '{    "variables": [      {        "name": "string",        "value": "string"      }    ]  }'
{  "variables": [    {      "created_at": "2019-08-24T14:15:22Z",      "name": "string",      "updated_at": "2019-08-24T14:15:22Z"    }  ]}