rest: Clean up /v3/device_images