The Privacy Core Service Integration is the method you should use for all access and delete requests.
Privacy requests are created using a POST request.
Before creating requests, you need to define the namespace you will use. For more on this, refer the Privacy management documentation.
The payload must contain the following parameters:
Sample request
This POST request creates a privacy request based on a email reconciliation key defined in the namespace AMCDS2:
-X POST https://mc.adobe.io/<ORGANIZATION>/campaign/privacy/privacyTool \
-H 'Authorization: Bearer <ACCESS_TOKEN>' \
-H 'Cache-Control: no-cache' \
-H 'X-Api-Key: <API_KEY>' \
-H 'Content-Type: application/json;charset=utf-8'
{
"name":"PT11832",
"namespaceName": "AMCDS2",
"reconciliationValue": "customers@adobe.com",
"regulation": "gdpr",
"label":"Delete customers",
"type":"delete"
}
Response to the POST request.
{
"PKey": "<PKEY>",
"audit": "",
"created": "2018-03-21 10:41:58.570Z",
"desc": "",
"gdprRequestData": {
"href": "https://mc.adobe.io/<ORGANIZATION>/campaign/head/privacyTool/<PKEY>/gdprRequestData/"
},
"href": "https://mc.adobe.io/<ORGANIZATION>/campaign/privacy/privacyTool/<PKEY>",
"label": "Delete customers",
"lastModified": "2018-03-21 10:41:58.570Z",
"name": "PT11832",
"namespace": {
"PKey": "<PKEY>",
"title": "Doc (AMCDS2)"
},
"namespaceName": "AMCDS2",
"reconciliationValue": "customers@adobe.com",
"regulation": "gdpr",
"retryCount": 0,
"status": "new",
"title": "Delete customers (PT11832)",
"type": "delete"
}