Skip to main content
PATCH
/
api
/
v1
/
sandboxes
/
:id
/
timeout
cURL
curl --request PATCH \
  --url https://api.example.com/api/v1/sandboxes/:id/timeout \
  --header 'Content-Type: application/json' \
  --data '
{
  "timeoutMs": 600000
}
'
{
  "id": "e7847229c547d8",
  "stopAt": "2023-12-01T01:00:00Z"
}

Path Parameters

id
string
required
Example:

"e7847229c547d8"

Body

application/json
timeoutMs
integer
required

Timeout in milliseconds to extend or reduce the sandbox lifetime. Maximum 1 hour (3600000ms) from creation time for FREE users.

Required range: x >= 0
Example:

600000

Response

Timeout updated successfully

id
string
required
Example:

"e7847229c547d8"

stopAt
string<date>
required
Example:

"2023-12-01T01:00:00Z"