Grant or revoke report access
manage_report_accessGrants or revokes client access to a saved shareable report. This is what makes a report openable at all: an ungranted report opens for nobody, including the account owner. After granting, the client opens the report URL, enters their email, and GSC Wizard emails them a login link. That self-serve sign-in only works once they hold a grant. Clients must already exist on the account: add them with create_report_client, find ids with list_report_clients. NOTE: unlike the web app's share dialog, this tool does NOT itself send a "report shared with you" notification. Either pass the recipient the report URL, or send the notification from Account > Shared Reports in GSC Wizard (https://tool.gscwizard.com/account/shared-reports), where each client has a Resend button. OWNER CONFIRMATION: granting to a client who has never been sent a report from this account does NOT give access yet. The grant stays pending and GSC Wizard emails the account owner a link to confirm or cancel it; until the owner confirms, the recipient cannot open the report or sign in to the portal. Such clients are listed in pendingConfirmation, not granted. Tell the user to check their email. Clients who already hold a confirmed grant are granted at once. action "revoke" withdraws access (pending grants included). Granting is idempotent: a client who already had access stays granted and is reported as unchanged.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| reportId | Yes | ||
| clientIds | Yes | Client ids from list_report_clients / create_report_client. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| note | No | ||
| action | No | ||
| granted | No | ||
| revoked | No | ||
| reportId | No | ||
| emailsSent | No | ||
| reportTitle | No | ||
| alreadyHadAccess | No | ||
| didNotHaveAccess | No | ||
| unknownClientIds | No | ||
| pendingConfirmation | No | ||
| ownerConfirmationEmailSent | No |