Update Data Subject's Data Elements

Use this API to create a new data subject or update an existing data subject. The data subject will be created or updated with the details provided in the request body.

🗒

Things to Know

  • The data subject primary identifier cannot be updated. However, additional identifiers can be added, updated, or deleted:
    • To add or update an additional identifier for a given data subject, set the linked parameter value to true and include a list of the additional identifiers within the value parameter.
    • To remove an additional identifier from a given data subject, set the linked parameter value to true and leave the value parameter empty. Removed identifiers will remain associated with the data subject as data elements.
  • This API is not designed to be used in synchronous workflows and will not trigger integration events or reporting updates.

Below are templated examples of adding, editing, and deleting additional identifiers for the data subject.

{
  "dataElements": [
    {
      "name": "ADDITIONAL_IDENTIFIER_TYPE", // For example: Email
      "linked": true, // When dealing with identifiers, set this value to true
      "value": ["EXISTING IDENTIFIER", "NEW_IDENTIFIER"] // Make sure to keep the existing identifier if you already have one for that type
    }
  ]
}
{
  "dataElements": [
    {
      "name": "ADDITIONAL_IDENTIFIER_TYPE", // For example: Email
      "linked": true, // When dealing with identifiers, set this value to true
      "value": ["EDITED IDENTIFIER"] // Make sure to keep the existing identifier if you already have one for that type
    }
  ]
}
{
  "dataElements": [
    {
      "name": "ADDITIONAL_IDENTIFIER_TYPE", // For example: Email
      "linked": true, // When dealing with identifiers, set this value to true
      "value": [] // Keep empty if you want to remove all additional identifiers that share the identifier type
    }
  ]
}
Body Params
dataElements
array of objects

List containing the Data Subject's Data Elements

dataElements
string

The type of identifier used for the Data Subject

string

The preferred language code for the Data Subject

Headers
string
required
length between 1 and 255

Unique identifier for the data subject. This is typically an email address or other unique identifier.

Responses

400

Bad Request

401

Unauthorized

403

Forbidden

500

Internal Server Error

Language
Credentials
OAuth2
Missing 1 required scope
URL
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
*/*