API reference


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_type you want to remove. Optionally, you can add some filters to fine-tune which resources of the selected type need to be removed and narrow the dataset to clean. The records_count attribute 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 processed_count, errors_count, and errors_log attributes.