Delete all data

You can use this mode to delete all data associated to one of the following resources from PEM database tables:

  • User: User record, contact info, and user credentials.
  • Partner Org: Partner org record, all partner users, PEM Partner Repository configurations associated with the partner, and all activities rolled out to the partner.
  • Third party processors: All third party processor details.
  • Sponsor Org: Complete data of the sponsor and all partners of the sponsor.
Note: Only one resource can be deleted at a time. To delete multiple resources, you must run the security utility for each resource separately.

Delete a Sponsor user or Partner user

The following Setup.cfg properties allow you to configure the purge utility to delete all data for a Sponsor or Partner user:

Property Value
purge.resource_to_purge_key <user-key>
purge.purge_strategy DELETE
purge.purge_strategy.data_scope ALL_DATA
purge.sponsor_context <sponsor-context>

Delete a Partner Organization

The following Setup.cfg properties allow you to configure the purge utility to delete all data for a Partner organization:

Property Value
purge.resource_to_purge_key <partner-key>
purge.purge_strategy DELETE
purge.purge_strategy.data_scope ALL_DATA
purge.sponsor_context <sponsor-context>

Delete a Third Party Processor

The following Setup.cfg properties allow you to configure the purge utility to delete all data for a third party processor organization:

Property Value
purge.resource_to_purge_key <partner-key>
purge.purge_strategy DELETE
purge.purge_strategy.data_scope ALL_DATA
purge.sponsor_context <sponsor-context>

Delete a Sponsor organization

The following Setup.cfg properties allow you to configure the purge utility to delete all data for a sponsor organization:

Property Value
purge.resource_to_purge SPONSOR
purge.resource_to_purge_key (no value)
purge.purge_strategy DELETE
purge.purge_strategy.data_scope ALL_DATA
purge.sponsor_context <sponsor-context>
Note: The resource_to_purge_key property is not required as the utility automatically picks up the required key using the sponsor_context property.

For a complete list of all configurable purge utility properties, see Configuration properties.