provider Agents Platform PATCH /v1/convai/environment-variables/{env_var_id}
@utdk/elevenlabs /v1/convai/environment-variables/{env_var_id}
Update Environment Variable
Replace an environment variable's values. Use null to remove an environment (except production).
env_var_id path required
string
xi-api-key header
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.

Try it

Authentication
Configure credentials for ElevenLabs API Documentation
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

updateEnvironmentVariable
PATCH/v1/convai/environment-variables/{env_var_id}
Replace an environment variable's values. Use null to remove an environment (except production).

Parameters

required

Input

required

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

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import elevenlabs from '@utdk/elevenlabs';

await elevenlabs.updateEnvironmentVariable()