Revoke a user access invitation
Withdraws an email invitation to a Google Ads account that has not been accepted yet.
Removes the invitation invitationId (from GET on this path) from adAccountId. It no longer works from the email, and the address can be invited again.
Authorization
bearerAuth API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
In: header
Query Parameters
Google ads SocialAccount id.
Google Ads customer id, digits only.
Numeric invitation id from GET /v1/ads/accounts/user-invitations.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.adaccounts.revokeAdAccountUserInvitation({ query: { accountId: 'account_abc123', adAccountId: 'adaccount_abc123', invitationId: 'invitation_abc123', },});console.log(data);{ "customerId": "string", "invitationId": "string", "revoked": true}Remove a user from a Page
Removes a person's access to a Facebook Page assigned through your business portfolio.
Withdraw an invitation awaiting multi-party approval
Cancels an email invitation that Google is still holding for a second admin's approval, so the same address can be invited again right away. Resolves the review `multiPartyAuthReviewId` (from POST /v1/ads/accounts/user-invitations or GET on this path) to `REVOKED` through Google's MultiPartyAuthReviewService. Only the Google user who sent the invitation can withdraw it, and only while no admin has approved or rejected it; otherwise Google refuses and this returns a 400. Without a withdrawal, Google refuses a new invitation to the address until the review is resolved or expires.