The cleanup object and the allowed CRUD operations on the related resource endpoint
Cleanups let you remove entire sets of resources (e.g. the ones that you're not using anymore) from your organization, in batches.
When you create a new cleanup, make sure to specify the
resource_typeyou want to remove. Optionally, you can add some
filtersto fine-tune which resources of the selected type need to be removed and narrow the dataset to clean. The
records_countattribute shows the number of records that will be involved in the process.
You can monitor the cleanup progress and look for any errors by inspecting the