Skip to main content
POST
Immediately stop an active Autopilot policy

Authorizations

Authorization
string
header
required

Headers

X-Workspace-Id
string<uuid>
required

UUID of the workspace to act in. Take it from GET /me (workspaces[].id). A key scoped to specific workspaces is rejected with 403 WORKSPACE_NOT_ALLOWED for any other id; a missing header is 400 WORKSPACE_REQUIRED.

Path Parameters

policyId
string<uuid>
required

Body

application/json
projectId
string<uuid>
required
expectedVersion
integer
required
reason
string
required
Required string length: 1 - 500
requestId
string<uuid>
required

Response

Policy stopped (or idempotently replayed)

data
object
required