# Rewrite a connector's items (/reference/api/plugins/rewriteConnectorItems)

Counts the connector's items on each kind's target type. Without `dry_run`, also stores a numbered request to rewrite them, which the connector reads from the mapping's `rewrites` and clears. Needs `connectors.manage`.