Client to api deprecate