Uninstall component

View as Markdown
Deletes one plugin or theme from the selection. Only inactive items are eligible; deactivate first with the manage request. This surface executes directly: no two-phase confirmation, unlike the MCP `components-uninstall` tool sharing this same request body — `confirm_token`, if sent, is accepted and ignored.\n\nBody parameters:\n- `sites` (integer array, required): exact ids, 1 to 200.\n- `confirm_token` (string, nullable): ignored on this surface; present only because the request is shared with the MCP tool.\n\n202 with the created `site-actions` documents (empty `data` and a `meta.skipped` entry with `reason_code: UNSUPPORTED` when the item is active).\n\n- **422**: `sites` missing/empty/over 200/unknown id.\n- **404**: `{component}` does not exist or is not reachable from the token's organization.\n- **403**: a read-only token.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

componentstringRequired

Request

This endpoint expects an object.
siteslist of integersRequired

Response

Successful response