To make things more clear, I have renamed all instances of the sub_id parameter to member_info_id. To maintain backwards compatibility, sub_id will still be supported, but it isn't mentioned in the docs, and going forward you should use member_info_id instead.
This affects calls in the Members and User sections of the API.