brighthive / master-client-index

BrightHive's Master Client Index framework.
MIT License
2 stars 2 forks source link

Add new endpoint for removing PII #6

Closed reginafcompton closed 5 years ago

reginafcompton commented 5 years ago

Parents can decide to opt-out their child from My Colorado Journey: in this case, the PII needs to be removed from the MCI.

We will set-up a new endpoint: POST /users/opt_out. The user must hit this endpoint with the MCI ID in the request body; the user can also include a comment, as well.

Hitting the endpoint will remove data from the following fields:

first_name
middle_name 
last_name
suffix
email_address
all phone numbers
mailing_address_id
date_of_birth

We will also add a flag(s) to indicate if/when/why an Individual has been opted-out.

reginafcompton commented 5 years ago

Closed via #7