The aiohttp URL builder only accepts strings, ints and floats as query values and raises a TypeError on a Python bool, so deleting an image answered a 500. Send true/false like the controller does.