PATCH
/
environments
/
{envId}
/
listing
curl --request PATCH \
  --url https://restapi.gputrader.io/v1/environments/{envId}/listing \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '{
  "availabilityWindows": [
    {
      "start": "<string>",
      "end": "<string>"
    }
  ],
  "pricing": {
    "pricePerGpu": 123
  },
  "isListed": true,
  "type": "<string>"
}'
"<string>"

Authorizations

X-API-Key
string
header
required

Path Parameters

envId
string
required

Environment ID

Body

application/json
availabilityWindows
object[]
pricing
object
isListed
boolean
type
string

Response

200
application/json
Environment listing successfully updated

Confirmation of successful update