Environment

Set environment variable

Create or replace one encrypted project environment variable.

PUT/api/v1/projects/{projectID}/environment/{name}

Authentication: REST bearer token required.

Parameters

projectIDUUIDrequired

PathThe project UUID.

namestringrequired

PathThe case-sensitive environment variable name.

valuestringrequired

BodyThe plaintext value. It is encrypted and is never returned by the API.

Responses

200

The stored variable name and non-secret digest.

400

The request is invalid or contains an unsupported value.

401

The bearer token is missing, invalid, or expired.

404

The requested resource does not exist for this account.