OverviewProductsPlatformsAPI ReferenceResources
Pixels & Tracking Tags

Remove a user from a tag

DELETEhttps://zernio.com/api/v1/accounts/{accountId}/tracking-tags/{tagId}/users/{userId}

Removes a user's access to the tag, on platforms whose API allows it.

Meta answers 501: the Business SDK has no delete on the pixel's assigned users, DELETE /{pixel}/assigned_users answers "Unsupported delete request" (code 100, subcode 33) and re-assigning with no tasks is refused. Remove the user in Business Settings.

Authentication

AuthorizationBearer tokenRequired

API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.

Path parameters

accountIdstringRequired
tagIdstringRequired
userIdstringRequired

User id (TrackingTagUser.id).

Responses

Success· the request worked

Errors· the request failed

DELETE/v1/accounts/{accountId}/tracking-tags/{tagId}/users/{userId}
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.trackingtags.removeTrackingTagUser({  path: {    accountId: 'account_abc123',    tagId: 'tag_abc123',    userId: 'user_abc123',  },});console.log(data);
{  "platform": "string",  "userId": "string",  "removed": true}
OpenAPI specification
Was this page helpful?