v4

OpenAPI 3.1.02026-07-313621,3961.8 MB
Agents Platform

Update Environment Variable

Replace an environment variable's values. Use null to remove an environment (except production).

patch/v1/convai/environment-variables/{env_var_id}

Path parameters

env_var_idstring required

Headers

xi-api-keystring nullable

Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.

Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.

Request body

valuesobject required

Values to replace. Set to null to remove an environment (except 'production').

Response

Successful Response

labelstring required
created_at_unix_secsinteger required
updated_at_unix_secsinteger required
created_by_user_idstring nullable
type'string' | 'secret' | 'auth_connection' required
idstring required
workspace_idstring required