Update Environment Variables
Updates multiple environment variables for a given project. Only the value of each environment variable can be updated.
PATCH /projects/{projectId}/env-vars
Parameters
Path Parameters
projectId string Required
The unique identifier of the project whose environment variables should be updated.
Query Parameters
decrypted enum
Whether to return decrypted values. Defaults to false (encrypted).
Possible values:
true
false
Request Body
environmentVariables object[] Required
An array of environment variables to update with id and value fields.
Array items:
id string Required
The unique identifier of the environment variable to update.
value string Required
The new value of the environment variable.
Response
Response Body
object string Required
data any[] Required
Array items: string