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.
Check the related guide for the complete list of resources that can be bulk removed and any further information about the clean-up process (e.g. associated resourced that will be automatically removed, limits, constraints, filters, and examples).