restore_connector_access
Bring a project's detached places on a reinstalled connector back and hand every live purchase of a plan granting them fresh access.
The dashboard's Restore Access for agents. An uninstall leaves every place on the connector detached and revokes its grants; once the connector is installed and connected again, this asks the connector about every detached place, reactivates the ones it still controls, and hands every live purchase of a plan granting them fresh access — only the grants a purchase lacks are issued, which are exactly the ones the uninstall took away, and member.resource_added fires per grant. A place the connector no longer controls stays detached for run_connector_doctor to explain. Plans the uninstall took off sale stay off sale.
Requires ability
The token behind the MCP session must hold it, or the call is refused with TOKEN_MISSING_ABILITY.
Runs the same action as
The REST endpoint and this tool share one action, so validation, permissions and events are identical.
Fires one event
Delivered to every endpoint subscribed to it once the change is made.
Annotations
Sending the same arguments twice changes nothing the second time.
Arguments
project_id*stringUUID of the project.
connector*stringThe connector key, as `list_connectors` returns it.
What it returns
{ "data": { "installation": { "id": "3b8f0c6e-2d41-4a97-9e5f-1c7d6b2a8e40", "connector": "telegram", "state": "connected" }, "connector": "telegram", "resources": [ { "resource_id": "b73c5f21-9d80-4a6e-8215-4f70ce13a9d6", "title": "Premium Channel", "restored": true }, { "resource_id": "0d4a7e19-5c2b-4f83-9a61-2e8b7c3d5f10", "title": "Archive Group", "restored": false } ], "resources_reactivated": 1, "resources_still_detached": 1, "subscriptions_reissued": 14 }, "meta": {}}How it fails
AUTHENTICATION_REQUIREDno authenticated user on the request.
TOKEN_MISSING_ABILITYtoken lacks project-connector:update.
RESOURCE_NOT_FOUNDthe project is unknown or outside the token's reach.
CONNECTOR_NOT_INSTALLEDthe project has no installation of the connector.
CONNECTOR_NOT_CONNECTEDthe installation is pending or disconnected; connect it and verify it first.
How is this guide?
Last updated on
list_connectors
List the Connectors Marketplace — every connector Subscriby knows, lane by lane, with its badges, manifest and the form that connects it.
run_connector_doctor
Verify a project's installation of a connector and ask the connector about every resource it gates — one report, a finding per check.