How to Return IDs with Delete

In the docs, you show that the ID is returned upon deletes for objects if the output is of type verbose

result = (
    client.batch.delete_objects(
        class_name='EphemeralObject',
        # Same `where` filter as in the GraphQL API
        where={
            'path': ['name'],
            'operator': 'Like',
            'valueText': 'EphemeralObject*'
        },
        dry_run=True,
        output='verbose'
    )
)

import json
print(json.dumps(result, indent=2))

I don’t need all of this output, only the IDs of the listed objects. Is there any way to return just the IDs without the additional verbose output. Something like:

.with_additional('id') 

That is compatible with delete operation?

Hi!

I have looked into the code for the client, and there is not:

You will have to process the output and reduce it to IDs only

Let me know if that helps!

Thanks!