Stop a profile browser for the current user and team. The operation remains idempotent if a valid profile is already inactive. Profiles that do not exist or are inaccessible return 40401.
Request parameters
Authorization Bearer Token
Include your API Key as a Bearer token in the Authorization request header.
JavaScript / TypeScript: Node.js 18+ with fetch; PHP: cURL extension; Go: 1.16+; Java: JDK 11+. Replace the token and example parameter values before running.
curl-X POST -H'Authorization: Bearer <TOKEN>'-H'Content-Type: application/json'-d'{
"env_id": "env_01JABCDEF1234567890"
}''http://local.zhongyibrowser.com:39025/api/v1/browsers/stop'
Success: code = 0. Failure: code > 0. Select a status to view its fields and example. Expand objects to inspect nested fields. Optional fields may be omitted.