POST /sandboxes/{sandboxID}/pause
Pause sandbox
Pause the sandbox
Параметры
sandboxID·string· путь · обязательно
Тело запроса
Обязательно: нет
application/json
Схема: SandboxPauseRequest
memory·boolean· необязательноWhether to capture a full memory snapshot. When false, only the filesystem is persisted and resuming the sandbox cold-boots (reboots) it from disk, losing in-memory state, running processes, and open connections. Resume it with an explicit request (connect or resume); auto-resume, which can be triggered by arbitrary traffic, refuses such a sandbox. Defaults to true.
По умолчанию:
true
Ответы
204
The sandbox was paused successfully and can be resumed
409
Conflict
Content-Type: application/json
Схема: Error
code·integer· обязательноError code
Формат:
int32message·string· обязательноError
404
Not found
Content-Type: application/json
Схема: Error
code·integer· обязательноError code
Формат:
int32message·string· обязательноError
401
Authentication error
Content-Type: application/json
Схема: Error
code·integer· обязательноError code
Формат:
int32message·string· обязательноError
500
Server error
Content-Type: application/json
Схема: Error
code·integer· обязательноError code
Формат:
int32message·string· обязательноError