Redact Recipient Data

Endpoint: https://rest.virtualincentives.com/{version}/{format}/recipients/{id}/redact

Method: PUT

Definitions

FieldTypeDescription
noteoptional
string(500)
Optional note to be stored with the requested action.
eventsresponse only
object
A list of all the events related to this action. For definitions, see Get Recipient Events.

Examples

Response XML

<recipient>
<id>123456</id>
<events>
<event>
<id>345678</id>
<date>01/30/2020 12:00</date>
<name>Data Redacted</name>
</event>
</events>
</recipient>

Response JSON

{"recipient":{

"id":"123456","events":[

{"id":"345678",
"date":"01/20/2020 12:00",
"name":"Data Redacted"}]}}

Request XML (Optional)

<recipient>
    <note>Test</note>
</recipient>

Request JSON (Optional)

{
    "recipient": {
        "note":"Test"
    }
}