Skip to content

Stop a profile ​

Stop a running profile by ID, name, or remark.

Definition: ApiFox POST · Checked on 2026-10-21.

Request ​

http
POST /api/stopBrowser

Use the base URL and api-key shown on the client API screen. All examples use 9000 only as a placeholder port; see Overview for authentication.

JSON body ​

FieldTypeRequiredDescription
idintegerNoUse a positive integer id; supply at least one of id, name, remark; unique id recommended
namestringNoMatches profile name; id takes priority; multiple name or remark matches fail
remarkstringNoMatches remark; without id, name and remark match either value; multiple matches fail

cURL example ​

bash
curl --request POST 'http://127.0.0.1:9000/api/stopBrowser' \
  --header 'api-key: YOUR_API_KEY' \
  --header 'Content-Type: application/json' \
  --data '{
  "id": 1
}'

Response example ​

json
{
  "success": true
}

Current client response fields ​

FieldTypeUsage
successbooleanRequest processing succeeded; not a guarantee that every item was written
messagestring / omittedOptional message; stopping a non-running profile may also succeed

Usage notes ​

  • Supply one of id, name, or remark; prefer id.

For failed requests, check both HTTP status and the error body. See Errors & troubleshooting.

Current stop and cloud-sync behavior ​

A profile that is already stopped can return success: true with message: Browser is not running. For an eligible bound profile, cloud sync upload is scheduled in the background after stopping. A successful stop response or stopped state does not mean the cloud upload has finished. Subsequent operations on the same profile may wait for the background sync task.

For stop, a nonempty id takes precedence over name and remark. Without ID, name and remark use OR matching and multiple matches return 400. This handler does not strictly validate every ID type; use a valid positive integer ID.