User Secrets API

Update User Environment Variable

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

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
success
error
msg
401
Unauthorized
success
msg
429
Too Many Requests
detail