Accounts & Ops
Remove a user from an ad account
PlatformsMeta
Authorization
bearerAuth AuthorizationBearer <token>
API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
In: header
Query Parameters
accountId*string
Zernio SocialAccount id used to resolve the Meta token.
adAccountId*string
Meta ad account id (act_).
userId*string
Business-scoped user id.
Response Body
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.removeAdAccountUser({ query: { accountId: 'account_abc123', adAccountId: 'adaccount_abc123', userId: 'user_abc123', },});console.log(data);{ "adAccountId": "string", "userId": "string", "removed": true}Was this page helpful?