# Request PII removal for a Candidate

Requests the removal of PII from an existing Candidate

Requesting the removal of PII from a candidate who has already had PII removed will result in an error.

Endpoint: DELETE /candidates/{id}/pii
Version: v1
Security: basic_auth

## Path parameters:

  - `id` (string, required)
    The Candidate's ID.

## Request fields (application/json):

  - `deletion_contact_email_address` (string, required)
    Email address of person requesting candidate's PII removal.
    Example: john.smith@gmail.com

  - `deletion_contact_first_name` (string)
    First name of person requesting candidate's PII removal.
    Example: John

  - `deletion_contact_last_name` (string)
    Last name of person requesting candidate's PII removal.
    Example: Smith

## Response 200 fields (application/json):

  - `id` (string)
    ID of the resource.
    Example: e44aa283528e6fde7d542194

  - `object` (string)
    Enum: "candidate"

  - `uri` (string)
    URI of the resource.
    Example: /v1/candidates/e44aa283528e6fde7d542194

  - `first_name` (string)
    Candidate’s first name.
    Example: John

  - `middle_name` (string)
    Candidate’s middle name. This field is required if `no_middle_name` is `false`.
    Example: Alfred

  - `no_middle_name` (boolean)
    Required if no `middle_name` is provided. `true` if the candidate has no middle name.

  - `last_name` (string)
    Candidate’s last name.
    Example: Smith

  - `mother_maiden_name` (string)
    Candidate’s mother’s maiden name.
    Example: Jones

  - `email` (string)
    Candidate’s email address.
    Example: john.smith@gmail.com

  - `phone` (string)
    Candidate’s phone number.
    Example: 5555555555

  - `zipcode` (string)
    Candidate’s 5-digit zip code.
    Example: 90401

  - `dob` (string)
    Candidate’s date of birth.
    Example: 1970-01-22

  - `ssn` (string)
    Candidate’s Social Security Number. This value will be redacted in all return calls, except for the last four digits.
    Example: XXX-XX-4645

  - `driver_license_number` (string)
    Candidate’s driver license number.
    Example: F2111655

  - `driver_license_state` (string)
    Candidate’s driver license state of issue.
Format: `ISO 3166-2:US`.
    Example: CA

  - `previous_driver_license_number` (string)
    Candidate’s previous driver license number.
    Example: F1501739

  - `previous_driver_license_state` (string)
    State that issued the candidate’s previous driver license.
Format: `ISO 3166-2:US`.
    Example: MD

  - `copy_requested` (boolean)
    If `true`, the candidate has asked to receive a copy of their report.

  - `custom_id` (string)
    Client-assigned unique ID for the Candidate. Can be used to map Checkr Candidate IDs to your internal tracking system, and to search for Candidates through both the Dashboard and the API.

  - `report_ids` (array)
    Array of Report IDs.

  - `geo_ids` (array)
    Array of Geo IDs.

  - `adjudication` (string)
    The adjudication for the Candidate’s most recently created Report.
    Enum: "engaged", "pre_adverse_action", "post_adverse_action"

  - `postal_address` (object)
    Candidate's postal address.
    Example: {"name":"John Alfred Smith","street":"123 Main Street","street2":"APT A","city":"San Francisco","state":"CA","zipcode":"94108"}

  - `metadata` (object)
    Up to 50 customer-defined key-value pairs. Use this parameter to store additional information on your candidate. For example: Use the key to map candidates to `job_req_id`, `application_id`, or `branch_id`. Keys must be 40 characters or less. Values must be 500 characters or less.
For example: { "job_req_id": "12345" }

## Response 400 fields (application/json):

  - `error` (string)
    Example: Candidate has already had PII removed

## Response 401 fields (application/json):

  - `error` (string)
    Example: Bad authentication error

## Response 403 fields (application/json):

  - `error` (string)
    Example: You do not have permission to access the requested resource

