Stop a self-authored XStrategy deployment (two-step confirm)
POST /v1/autopilot/managed/xstrategy/:strategyId/stop — Stop a live XStrategy deployment the user authored (Autopilot surfaces it alongside managed + Strategy Studio strategies
POST /v1/autopilot/managed/xstrategy/:strategyId/stop
Stop a live XStrategy deployment the user authored (Autopilot surfaces it alongside managed + Strategy Studio strategies). Keyed by strategy id. Fund-affecting, so it follows the same preview → confirm two-step as disable; stopping does not close open positions.
| Method | POST |
| Path | /v1/autopilot/managed/xstrategy/:strategyId/stop |
| Auth | Authorization: Bearer <token> required when GATEWAY_AUTH_TOKEN is set |
| Category | autopilot |
Request body
{ "confirm": false, "idempotencyKey": "<uuid-v4>" }Response body
{ "confirmed": false, "preview": { "strategyId": "str_…", "warning": "…" } }