POST
/
environments
/
{envId}
/
listing
/
hold
curl --request POST \
  --url https://restapi.gputrader.io/v1/environments/{envId}/listing/hold \
  --header 'X-API-Key: <api-key>'
{
  "heldUntil": "2023-11-07T05:31:56Z",
  "now": "2023-11-07T05:31:56Z"
}

Authorizations

X-API-Key
string
header
required

Path Parameters

envId
string
required

Environment ID

Response

200
application/json
Hold successfully created
heldUntil
string
required

Timestamp until when the hold is valid

now
string
required

Current server timestamp