Vast.ai API
Accounts

Update User Environment Variable

1min
PUT
https://console.vast.ai/api/v0/secrets/

Updates the value of an existing environment variable for the authenticated user.

CLI Usage: vast-ai set env-var KEY VALUE

Authentication
BearerAuth
Body Parameters
body
*
key
*
value
*
Responses
200
Environment variable updated successfully
success
msg
400
Bad Request
All Of
Error +
success
error
msg
401
Unauthorized
success
error
msg
429
Too Many Requests
detail