add /apiPath as a WS client option