Skip to main content
POST
Stop environment by id (external)

Authorizations

X-Asteroid-Agents-Api-Key
string
header
required

Path Parameters

environmentId
string<uuid>
required

The environment to stop.

Query Parameters

expectedAgentId
string<uuid>

Optional assertion that the env belongs to this agent; the stop fails (404) on mismatch. Omit it — access is already gated on the env's own agent and organisation.

Response

There is no content to send for this request, but the headers may be useful.