POST
/
rentals
curl --request POST \
  --url https://restapi.gputrader.io/v1/rentals \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '{
  "envId": "<string>",
  "sessionId": "<string>",
  "gpus": 123,
  "priceBreakDuration": "<string>"
}'
"<string>"

Authorizations

X-API-Key
string
header
required

Body

application/json

Response

200
application/json

Rental successfully created

The response is of type string.