Update Application Environment
Environments
Update Application Environment
Updates a specific environment variable for an application by its ID.
PUT
Update Application Environment
Documentation Index
Fetch the complete documentation index at: https://docs.vertracloud.app/llms.txt
Use this file to discover all available pages before exploring further.
The ID of the application to update the environment variable for. If the application belongs to a workspace, include the workspace_id in the format
appId-workspace_id.The environment variable to update.
Response
An array of all environment variable objects after the update.
Error Responses
The error code indicating the reason for failure. Possible values:
UNAUTHORIZED: The user is not authenticated or lacks sufficient permissions.FORBIDDEN: The user does not have permission to access the application.APP_NOT_FOUND: The specified application does not exist.INVALID_ENVIRONMENT: The provided environment variable is invalid or uses a forbidden key.ENV_VARIABLE_TOO_LONG: The environment variable key or value exceeds length limits.ENVIRONMENT_NOT_FOUND: The specified environment variable ID was not found.
A descriptive message providing additional details about the error.