Skip to main content
Write exact file bytes

Authorizations

Authorization
string
header
required

BoxRouter API key; never an upstream provider key.

Headers

Idempotency-Key
string

Optional for this operation. Preserve the same stable identifier when retrying an uncertain response; never reuse it for new work. If omitted where allowed, Cloud generates a request-scoped key that cannot reconcile a later retry. Do not include credentials or payloads. Stable identifier for one logical mutation.

Required string length: 1 - 128

Path Parameters

sandbox_id
string
required

Workspace-owned BoxRouter sandbox ID, not an upstream ID.

Minimum string length: 1
Pattern: ^[^\u0000]*$

Query Parameters

path
string
required

Absolute path inside the sandbox. Encoded as a query value, never a host path.

Minimum string length: 1
Pattern: ^/[^\u0000]*$

Body

application/octet-stream

The body is of type file.

Response

All bytes written successfully.