> ## Documentation Index
> Fetch the complete documentation index at: /docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Object deletion

> What else is deleted, detached or ended when you delete a user, location, tariff or device.

| You delete | Also deleted | Other effects |
| :- | :- | :- |
| [User](/docs/energy-api/reference/users/delete.md) | Every location of the user | |
| [Location](/docs/energy-api/reference/locations/delete.md) | Every tariff at the location | The location leaves its user. Devices are detached and kept: their location record ends with `end_time` set, and pricing pauses until each device moves to a location with a connected tariff |
| [Tariff](/docs/energy-api/reference/tariffs/delete.md) | Its Connect data, including supplier keys and credentials | Its location is updated |
| [Device](/docs/energy-api/reference/devices/delete.md) | Its device tariffs, consents and settings | Returns `409` while the device has a VPP enrollment that is not `ENDED` or `REJECTED`. [Unenroll it](/docs/energy-api/reference/vpp-enrollments/unenroll.md) first |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.