Vast.ai API
Accounts

delete env var

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

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




Updated 14 Feb 2025
Did this page help you?