def detach_disk(compute, project, zone, instance_name, disk_name):
    """Detach disk from instance

    :param compute: GCE compute resource object using googleapiclient.discovery
    :param project: string, GCE Project Id
    :param zone: string, GCE Name of zone
    :param instance_name: string, GCE instance name
    :param disk_name: string, GCE disk name
    :return: Operation information
    :rtype: dict
    """
    return compute.instances().detachDisk(project=project, zone=zone,
                                          instance=instance_name,
                                          deviceName=disk_name).execute()