Skip to content

Close a web preview

DELETE
/sandboxes/{id}/previews/{port}
curl --request DELETE \
--url https://api.global.stillbox.example/v1/sandboxes/ws-7k2m9q4x8w3z5r6t/previews/1 \
--header 'Authorization: Bearer <token>'
id
required
string
port
required
integer
>= 1 <= 65535

The preview is closed

The API key is missing or invalid

Media typeapplication/json
object
code
required
string
message
required
string

Example

{
"code": "not_found"
}

No such sandbox in your organization (or no such file)

Media typeapplication/json
object
code
required
string
message
required
string

Example

{
"code": "not_found"
}