Create or Edit Application Environment Variables
Environments
Create or Edit Application Environment Variables
Creates or updates environment variables for an application by its ID.
POST
Create or Edit Application Environment Variables
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 create or update environment variables for. If the application belongs to a workspace, include the workspace_id in the format
appId-workspace_id.An array of environment variable objects.
Response
An array of environment variable objects after creation or 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_BODY: The request body is not a valid array or is empty.INVALID_ENVIRONMENT: One or more environment variables are invalid or use forbidden keys.ENV_VARIABLE_TOO_LONG: An environment variable key or value exceeds length limits.ENV_LIMIT_EXCEEDED: The total number of environment variables exceeds the limit of 25.
A descriptive message providing additional details about the error.