Skip to content

Run the environment's setup script again

POST
/sandboxes/{id}/environment/rerun
curl --request POST \
--url https://api.global.stillbox.example/v1/sandboxes/ws-7k2m9q4x8w3z5r6t/environment/rerun \
--header 'Authorization: Bearer <token>'
id
required
string

The script started; the sandbox’s environment status follows it

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"
}

The sandbox has no environment, or isn’t running