Skip to content
Navigation

Stop the session’s sandbox container now

Destroys the container and releases the organization’s container slot and any credit hold the turn was holding. The next sandbox turn provisions a fresh container and restores the last /workspace backup into it, so nothing that was backed up is lost. Safe to call when no container is running. Answers 204. Authorization: work_session:manage — the OWNER relation (spec §8.1), not the comment every participant holds. A session the caller cannot see answers 404; one they can see but do not own answers 403.

POST
https://api.cloudraker.com/workspace/sessions/{sessionId}/sandbox/kill
Try it
Path parameters
Live API request

This request can change data or incur charges for the selected organization.

Authorization

  • bearerAuth
    HTTP
    required

Path parameters

  • sessionId
    string
    required

Returns

204

The container is stopped.

403

forbidden — only a session owner may destroy its container.
JSON
  • error
    string
    required

    The sentence a human reads.

  • error_code
    string
    required

    The stable snake_case branch key.

  • issues
    optional
    array of
    object

    Per-field detail, present only on a validation failure.

    • path
      string
      required
    • code
      string
      required
    • message
      string
      required

404

No such session, or the caller may not see it.

Type to search…

↑↓ navigate↵ selectEsc close