Skip to content

Delete an extension ​

Delete an installed extension by its extension ID.

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

Request ​

http
POST /api/deleteCrx

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
idstringYesExtension identifier from the extension list

cURL example ​

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

Response example ​

json
{
  "success": true,
  "crxPath": "EXAMPLE_LOCAL_EXTENSION_PATH"
}

Current client response fields ​

FieldTypeUsage
successbooleanRequest processing succeeded; not a guarantee that every item was written
crxPathstringAbsolute local extension path at the top level; redact before sharing

Usage notes ​

  • id is the extension identifier string, not a profile ID. crxPath is at the response root.

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

id can also be an absolute path inside the extension directory, but the list ID is recommended; paths outside the directory are rejected. Internal file or configuration cleanup failures may only be logged while success is returned. Re-query the extension list and do not publish local paths.