Fixes #7261 - API v2 - mark wrapped params hash for POST/PUT as required instead of optional

(cherry picked from commit fb5ac6168beaad3e205a113a92361066e14355f3)