PUT
/
api
/
v0
/
instances
/
bid_price
/
{id}
/
change bid
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
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
integer
required

Instance ID

Body

application/json
client_id
string
required

Client identifier (usually "me")

Example:

"me"

price
number
required

Bid price in $/hour

Required range: 0.001 <= x <= 32
Example:

0.17

Response

Success response

success
boolean
Example:

true