User Data Deletion Request

User Data Deletion Request API

The User Data Deletion API enables you to request deletion of user data from the Moloco MCM ingestion service.

Prerequisites

You need an API key to call the MCM Management API. See the API Key and SSO credential management guide for instructions.

Process Overview

  1. Obtain your Management API key
  2. Submit user IDs for deletion via the API
  3. Data will be deleted within 30 days of request

API Reference

Endpoint

POST https://{mgmtsvc api}/rmp/mgmt/v1/platforms/{platform_id}/data-deletion-requests/user-events

Sample Request

curl --location 'localhost:15000/rmp/mgmt/v1/platforms/MOLOCO_PORTAL_DEMO/user-data-delete-request' \
--header 'Content-Type: text/plain' \
--header 'X-API-Key: {YOUR_API_KEY}' \
--data '{
  "user_data": [
    {"user_id": "6fdde389-0f19-44e4-b6af-f9a90faf6fbb"},
    {"user_id": "6fdde389-0f19-44e4-b6af-f9a90faf6fbb"},
    {"user_id": "6fdde389-0f19-44e4-b6af-f9a90faf6fbb"}
  ]
}'

Response Codes

CodeMeaningDescription
200OKRequest acknowledged, data received
400Bad RequestInvalid request file header
401UnauthorizedInvalid API key
403ForbiddenNo permission to access (API key is missing)
500Server ErrorInternal server error