For the complete documentation index, see llms.txt. This page is also available as Markdown.

User identifiers deletion

This document import allows you to mark user identifiers for deletion. Each line in the document represents a different object to remove from the platform.

This is only supported for datamarts using a UserPoint system version of v201901 or later.

It only deletes the user identifier but not the associated UserPoint.

How-to

  1. Use the bulk import endpoints to create a document import with theUSER_IDENTIFIERS_DELETIONdocument type and APPLICATION_X_NDJSON mime type. Only ndjson data is supported for user activities.

  2. Create an execution with your commands formatted in ndjson. Each command can either be a user account deletion, a user email deletion or a user agent deletion.

Example

# Create the document import
curl -X POST \
  https://api.mediarithmics.com/v1/datamarts/<DATAMART_ID>/document_imports \
  -H 'Authorization: <YOUR_API_TOKEN>' \
  -H 'Content-Type: application/json' \
  -d '{
	"document_type": "USER_IDENTIFIERS_DELETION",
	"mime_type": "APPLICATION_X_NDJSON",
	"encoding": "utf-8",
	"name": "<YOUR_DOCUMENT_IMPORT_NAME>"
}'

User Account deletion command

field

type

description

type

String

USER_ACCOUNT

user_account_id

String

The User Account Id.

compartment_id

Number (Optional)

The Compartment Id associated with the User Account Id.

Example:

User Email deletion command

field

type

description

type

String

USER_EMAIL

hash

String

Hash of the Email address.

Example:

User Agent deletion command

field

type

description

type

String

USER_AGENT

user_agent_id

String

A user agent id other than a device point id. Ex: "vec:123456" or "net:9:12345".

Example:

Last updated

Was this helpful?