Skip to main content
PUT
Rename a sandbox

Authorizations

X-API-Key
string
header
required

An Anona Compute API key (ac_ followed by lowercase hex; older keys start with e2b_).

Path Parameters

sandboxID
string
required

Body

application/json
name
string
required

1 to 64 letters, digits, spaces, dots, dashes or underscores, starting with a letter or digit. Trimmed; "" removes the name.

Maximum string length: 64

Response

The sandbox's name after the change.

sandboxID
string
required
name
string
required

"" when the sandbox has no name.