seo-connect

DELETE /v1/seo-connection/reports/sinks/{sink_id}

Stop delivering into that Sheet or folder and forget the grant.

All seo-connect endpoints

All developer docs →

Authentication

Send an API key as a bearer token. The endpoint checks sites.create; a key without it is refused with 403, not 404.

This endpoint takes no organisation id. Your key already identifies the organisation it belongs to, and the response is scoped to it.

Try it

Replace anything in angle brackets with your own values, and the key placeholder with a key from your dashboard.

curl -X DELETE https://api.zinndigital.com/v1/seo-connection/reports/sinks/{sink_id} \
  -H "Authorization: Bearer zdk_live_…"

Signed in? The API console in your dashboard fills in your real organisation id and your own key, and runs the request against the live API so you can see the actual response. Open this endpoint in the API console

Details

Zinn® SEO stage P12. Never revokes at Google (the account's other grants stay). Needs seo.run.

Parameters

NameTypeRequiredWhat it is
sink_id (path)stringYes—

Response

NameTypeRequiredWhat it is
idstringYes—
client_idstringYes—
kindClientReportSinkKindYes—
statusstring<pending, active, needs_reconnect, revoked>Yes—
account_emailstringYesThe Google account that granted access
external_urlobjectYesThe spreadsheet or folder in that account.
last_attempted_atobjectYes—
last_synced_atobjectYes—
last_report_idobjectYes—
failureobjectYesWhy the last copy failed (refusal.clientReportSinks.*), cleared on success.
created_atstringYes—

Errors this endpoint can return

401 · 403 · 404 · 422 · 429