GDPR Endpoints
GET a Single Person
Gets a Single Person by Email Address
Endpoint | /api/v1.0/gdpr/persons/{email} |
---|---|
Method | GET |
Request Headers | Content-Type : application/json |
Request Body Sample | N/A |
Response Body Sample
{
"totalRecordCount":7,
"contexts":[
"BrandUserAccount",
“BrandProspect”,
“BrandLead”,
“PartnerSharedProspect”,
“PartnerSharedLead”,
“Registration”
],
"createdDate":"20171231",
"firstName":"John",
"lastName":"Doe",
"companyName":"Microsoft",
"phone":"12065551212",
"country":"US"
}
Update (PATCH) a Single Person's Data
Updates a Person’s Data
Endpoint | /api/v1.0/gdpr/persons/{email} |
---|---|
Method | PATCH |
Request Headers | Content-Type : application/json |
Request Body Sample
{
"firstName":"Jonathan",
"lastName":"DoDo",
"phone":"13605551234",
“emailAddress”:j.doe@company.com,
“country”:”United Staates”
}
Response Body Sample
{
"result":"success",
"totalRecordsUpdated":3
}
DELETE a Single Person's Identifying Data
Removes Personally Identifying Information for a Single Person
Endpoint | /api/v1.0/gdpr/persons/{email} |
---|---|
Method | DELETE |
Request Headers | Content-Type : application/json |
Request Body Sample | N/A |
Response Body Sample
{
"result":"success",
"totalRecordsDeleted":3
}