Vast.ai API
Accounts

Delete an environment variable

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

Deletes an environment variable associated with the authenticated user. The variable must exist and belong to the requesting user.

CLI Usage: vastai delete env-var

Authentication
BearerAuth
Body Parameters
body
*
key
*
Responses
200
Environment variable deleted successfully
success
msg
400
Bad request - missing or invalid input
All Of
Error +
success
error
msg
401
Unauthorized - Invalid or missing API key
success
error
msg
403
Forbidden - User is blacklisted
success
error
msg
429
Too many requests - rate limit exceeded
detail