Uninstall component
Authentication
Personal access token created in the Modular DS dashboard; read-only tokens can only call GET endpoints.
Path parameters
Request
Response
202 Accepted - one uninstall launched, one website skipped
Personal access token created in the Modular DS dashboard; read-only tokens can only call GET endpoints.
202 Accepted - one uninstall launched, one website skipped
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.
Body parameters:
sites (integer array, required): exact ids, 1 to 200.confirm_token (string, nullable): ignored on this surface; present only because the request is shared with the MCP tool.202 with the created site-actions documents under data and meta.skipped: one entry per website the preflight refused, {site_id, site_name, site_action_id, reason_code, message} (an active item answers reason_code: UNSUPPORTED; a disconnected website SITE_UNREACHABLE). site_action_id is always null in these entries; site_name is null for PERMISSION_DENIED. data: [] is still a 202.
sites missing/empty/over 200/unknown id.{component} does not exist or is not reachable from the token’s organization.