# Delete past period data

Deletes past period in preparation for migration.

Endpoint: DELETE /people/{personId}/loans/{loanId}/migration/past-periods
Version: 2025-03-26
Security: oauth2, bearerAuth, apiKeyHeader

## Path parameters:

  - `personId` (string, required)
    A Borrower's unique identifier, tied to a person or a business. Can be Peach or a lender's external identifier.

  - `loanId` (string, required)
    The unique identifier of the Loan we wish to retrieve. Can be
Peach or lender's external identifier.

## Query parameters:

  - `dueDate` (string, required)
    The due date of the period. The system will delete the object corresponding to the period with
a due date equal to `dueDate`. If no matching period is found, the system will not make any updates.

