sandboxes
Set sandbox timeout
Changed onSet the timeout for the sandbox. The sandbox will expire x seconds from the time of the request. Calling this method multiple times overwrites the TTL, each time using the current timestamp as the starting point to measure the timeout duration.
post/sandboxes/{sandboxID}/timeout
Request
- Base URLhttps://api.e2b.app
- URLhttps://api.e2b.app/sandboxes/{sandboxID}/timeout
- Auth
- API key in header X-API-Key
- or HTTP bearer and API key in header X-Team-ID
- or API key in header X-Admin-Token and API key in header X-Team-ID
- or HTTP bearer and API key in header X-Team-ID
Path parameters
sandboxIDstring required
Request body
Response
Successfully set the sandbox timeout
Changes
- info
added the non-success response with the status
- info
- info
the endpoint scheme security
AdminJWTAuth AND AdminTeamAuthwas added to the API
- info