Agents Platform

Update Environment Variable

Changed on

Replace an environment variable's values. Use null to remove its value for an environment (except production); delete an environment with DELETE /v1/convai/environments/{environment}.

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

Request

  • Base URL
    https://api.elevenlabs.io (the document declares no server; this is the origin it was published from)
  • URL
    https://api.elevenlabs.io/v1/convai/environment-variables/{env_var_id}
  • Auth
    none declared

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.

Request body

valuesobject required

Values to replace. Set to null to remove the value for 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

Changes