v47

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

Create or replace env_var

Create or replace env_var. If there is an existing env_var with the same name as the one specified in the request, will replace the existing env_var with the provided fields

put/v1/env_var

Request body

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

valuestring nullable

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

Response

Returns the new 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