cURL
curl --request PUT \ --url https://console.vast.ai/api/v0/instances/bid_price/{id}/ \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "client_id": "me", "price": 0.17 } '
{ "success": true }
Change the current bid price of an instance to a specified price.
CLI Usage: vastai change bid <id> --price <price>
vastai change bid <id> --price <price>
API key must be provided in the Authorization header
Instance ID
Client identifier (usually "me")
"me"
Bid price in $/hour
0.001 <= x <= 32
0.17
Success response
true