Skip to main content

Documentation Index

Fetch the complete documentation index at: https://vastai-80aa3a82-fix-google-validation-docs-404s.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Update an existing user environment variable.

Signature

VastAI.update_env_var(name: str, value: str) -> str

Parameters

name
str
required
name
value
str
required
value

Returns

str, Result from the API call.

Example

from vastai import VastAI

client = VastAI(api_key="YOUR_API_KEY")
result = client.update_env_var(name="...", value="...")
print(result)