'Force detach a volume.
For a full list of available parameters, please refer to the official
API reference:
https://developer.openstack.org/api-ref/block-storage/v2/#force-detach-volume'

def force_detach_volume(self, volume_id, **kwargs):

    post_body = json.dumps({'os-force_detach': kwargs})
    url = ('volumes/%s/action' % volume_id)
    (resp, body) = self.post(url, post_body)
    self.expected_success(202, resp.status)
    return rest_client.ResponseBody(resp, body)
