v1

latestOpenAPI 3.1.02026-07-13897404.3 KB
Instances

change bid

Change the current bid price of an instance to a specified price.

CLI Usage: vastai change bid <id> --price <price>

put/api/v0/instances/bid_price/{id}/

Path parameters

idinteger required

Instance ID

Request body

client_idstring required

Client identifier (usually "me")

pricenumber required

Bid price in $/hour

Example request

{
  "client_id": "me",
  "price": 0.17
}

Response

Success response

successboolean

Example response

{
  "success": true
}