'Destroy instance at API level.'

def instance_destroy_at_top(self, ctxt, instance):

    version = '1.35'
    if (not self.client.can_send_version('1.35')):
        instance = objects_base.obj_to_primitive(instance)
        version = '1.34'
    cctxt = self.client.prepare(version=version)
    cctxt.cast(ctxt, 'instance_destroy_at_top', instance=instance)
