General APIs with JWT

Update a request

Endpoint to update a request.

put/machine-requests/{request_id}

Path parameters

request_idstring uuid required

Request body

machine_namestring required
gpu_countinteger nullable
cpustring nullable
ramstring nullable
storagestring nullable
locationstring nullable
extra_dataobject nullable

Example request

{
  "cpu": "",
  "extra_data": {},
  "gpu_count": 8,
  "location": "USA",
  "machine_name": "NVIDIA H200",
  "ram": "32gb",
  "storage": "1T"
}

Response

Request updated successfully

{"stackTrail":"paths:/machine-requests/{request_id}:put:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

No recorded changes to this endpoint across all 1 revision of this API.