Skip to main content

env

Overview

Nameenv
TypeResource
Idvercel.projects.env

Fields

NameDatatypeDescription
idstring
configurationIdstring
contentHint``
createdAtnumber
createdBystring
decryptedbooleanWhether value is decrypted.
edgeConfigIdstring
edgeConfigTokenIdstring
gitBranchstring
keystring
target``
typestring
updatedAtnumber
updatedBystring
valuestring

Methods

NameAccessible byRequired ParamsDescription
get_project_envSELECTid, idOrName, teamIdRetrieve the environment variable for a given project.
create_project_envINSERTidOrName, teamIdCreate one ore more environment variables for a project by passing its key, value, type and target and by specifying the project by either passing the project id or name in the URL.
remove_project_envDELETEid, idOrName, teamIdDelete a specific environment variable for a given project by passing the environment variable identifier and either passing the project id or name in the URL.
edit_project_envEXECid, idOrName, teamIdEdit a specific environment variable for a given project by passing the environment variable identifier and either passing the project id or name in the URL.
filter_project_envsEXECidOrName, teamIdRetrieve the environment variables for a given project by passing either the project id or name in the URL.