v47

latestOpenAPI 3.0.3Apache 2.0raw.githubusercontent.com2024-10-01163166522.3 KB
EnvVars

Partially update env_var

Partially update an env_var object. Specify the fields to update in the payload. Any object-type fields will be deep-merged with existing content. Currently we do not support removing fields or setting them to null.

patch/v1/env_var/{env_var_id}

Path parameters

env_var_idstring uuid required

EnvVar id

EnvVar id

Request body

namestring required

The name of the environment variable

valuestring nullable

The value of the environment variable. Will be encrypted at rest.

Response

Returns the env_var object

idstring uuid required

Unique identifier for the environment variable

object_type'organization' | 'project' | 'function' required

The type of the object the environment variable is scoped for

object_idstring uuid required

The id of the object the environment variable is scoped for

namestring required

The name of the environment variable

createdstring date-time nullable

Date of environment variable creation

usedstring date-time nullable

Date the environment variable was last used