Skip to main content
POST
/
boxes
/
{boxId}
/
interrupt
Interrupt running work
curl --request POST \
  --url https://ascii.dev/api/box/v1/boxes/{boxId}/interrupt \
  --header 'Authorization: Bearer <token>'
{
  "ok": true,
  "type": "box.interrupted",
  "id": "bx_23456789",
  "status": "interrupted"
}

Authorizations

Authorization
string
header
required

Box API key in the form box_.... Create and rotate keys in the Box dashboard or through the v1 API key endpoints.

Path Parameters

boxId
string
required

Public Box id returned by create/list/get box calls.

Pattern: ^bx_[23456789abcdefghjkmnpqrstuvwxyz]{8}$

Response

Interrupt requested.

ok
boolean
required
Example:

true

type
string
required

Stable success envelope discriminator added by v1.

Example:

"box.stopping"

id
string
required
status
string
required
Example:

"archiving"

box
object