Перейти к основному содержанию
PUT
/
v0
/
hosts
/
{host_id}
Update host
curl --request PUT \
  --url https://api.qudata.ai/v0/hosts/{host_id} \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <api-key>' \
  --data '{
  "status": "inactive",
  "price": 123
}'
{
  "ok": true,
  "data": null
}

Authorizations

X-Api-Key
string
header
required

Path Parameters

host_id
string
required

Body

application/json
status
enum<string> | null
Available options:
inactive,
review,
approved,
active,
running,
blocked
price
number | null

Response

Successful Response

ok
boolean
default:true
data
null
I