post https://customer.my.onetrust.com/api/consentmanager/v1/datasubjects/dataelements
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 totrue
and include a list of the additional identifiers within thevalue
parameter.- To remove an additional identifier from a given data subject, set the
linked
parameter value totrue
and leave thevalue
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.