correct the option key

documentation fix
'statusCodes' instead of 'codes'