DELETE

/Person

When to Use

  • Data Entry Errors: Remove persons created with incorrect details before business relationships
  • Duplicate Person Cleanup: Remove duplicate individuals identified before investment linking
  • Test Data Cleanup: Remove development or UAT test persons from production environment
  • Failed Onboarding: Clean up persons where onboarding process was abandoned
  • System Migration: Remove persons that won't be migrated to new systems

Common Scenarios

  • Pre-Investment Cleanup: Remove person created in error before SMSF or investment setup
  • Duplicate Identification: Remove duplicate person records discovered during data quality checks
  • Incomplete Onboarding: Clean up persons where KYC/AML verification was not completed
  • Test Environment Cleanup: Remove test persons after system testing or development
  • Data Migration Preparation: Remove persons not required in target system

Prerequisites

  • Valid Bearer token with person deletion permissions and elevated administrative access
  • PersonID or ExternalPersonId to identify the specific individual to remove
  • Verification that person has no active investment relationships or business entities
  • Confirmation that person has no transaction history or compliance obligations
  • Understanding that deletion cascades to all associated addresses and communications

Considerations

  • Strict Business Rules: Only works when person has no BizEntityParty relationships or transaction history
  • Cascade Deletion: All associated Address and Communication records automatically removed
  • Irreversible Operation: Deletion is permanent with no recovery mechanism available
  • Compliance Audit: Deletion events logged for regulatory and audit purposes
  • SMSF Restrictions: Cannot delete persons involved in SMSF trustee relationships
  • Investment History: Any involvement in investments, distributions, or transactions prevents deletion

Description

Permanently deletes a person record and all associated Address and Communication records. This operation follows the 7G API specification constraint that person deletion is only permitted when no relationships exist beyond Address and Communication records.

Advanced Resource: Person records are typically managed through BizEntity operations. Use this endpoint for direct person deletion only when the person has no active business relationships or for pre-investment cleanup purposes.

7G API Deletion Rules

According to the official specification, the person DELETE endpoint will only work if:

  • No BizEntityParty relationships exist - Person cannot be linked to any BizEntity
  • Only Address and/or Communication records - These are automatically deleted
  • No transaction history exists - Any BizTransaction involvement prevents deletion

Required Headers - See Authentication

HeaderValueDescription
Authorization{accessToken}Bearer token for API access
Version2.0API version identifier

Query Parameters

Parameter Type Required Description
PersonID >
integer
The 7G system identifier for the person to delete. Preferred for performance and direct system lookup.
ExternalPersonId >
string
Your external identifier for the person to delete. Use when you cannot store 7G's native PersonID.
PersonID
integer
The 7G system identifier for the person to delete. Preferred for performance and direct system lookup.
ExternalPersonId
string
Your external identifier for the person to delete. Use when you cannot store 7G's native PersonID.

Safe Deletion Process

  1. Verify person exists and you have the correct ID
  2. Check person has no active BizEntity relationships
  3. Confirm person has no transaction history
  4. Execute deletion (addresses and communications removed automatically)

Example Requests

bash
# Delete person by PersonID (recommended for performance)
curl -X DELETE "https://api.7g.com.au/Person?PersonID=12345" \
  -H "Authorization: {accessToken}" \
  -H "Version: 2.0"

# Delete person by ExternalPersonId (alternative identifier)
curl -X DELETE "https://api.7g.com.au/Person?ExternalPersonId=EXT-PERSON-001" \
  -H "Authorization: {accessToken}" \
  -H "Version: 2.0"

Response Examples

json
{
  "result": true,
  "message": "Person deleted successfully",
  "recordCount": 0,
  "data": []
}