Skip to content

Archive identity

Request

Primary identities cannot be archived.

Security
oauth2(Required scopes: person.identity:delete) or bearerAuth or apiKeyHeader
Path
personIdstring(AnyId)^ext-|^[A-Z][A-Z0-9]-[A-Z0-9]+-[A-Z0-9]+|^\d+$write-onlyrequired

A Borrower's unique identifier, tied to a person or a business. Can be Peach or a lender's external identifier.

personIdentityIdstringrequired

An identity's unique identifier.

Query
caseIdstring(AnyId)^ext-|^[A-Z][A-Z0-9]-[A-Z0-9]+-[A-Z0-9]+|^\d+$write-only

Optional case ID to be recorded with the change.

DELETE
/people/{personId}/identities/{personIdentityId}
curl -i -X DELETE \
  'https://sandboxapi.peach.finance/api/people/{personId}/identities/{personIdentityId}?caseId=string' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

No content