The FlatPeak API allows several types of objects to be deleted. Deletion cannot be undone; deleted objects are erased immediately and cannot be restored.

When an object is deleted, related objects may also be deleted, or references to the object may be removed. This page describes this deletion logic.

Customer

When a Customer is deleted, all Locations belonging to this Customer are also deleted. All Connect information related to this Customer is deleted, too, including all energy provider connection data (all keys and credentials of any were ever stored).

Location

When a Location is deleted, the Customer it belongs to is updated to remove the deleted Location.

Device

When a Device is deleted, no other objects are updated.