Changing boolean value with “wp option patch”

Just found a solution. One has to use the json-format.

wp option patch insert disable_rest_api_options roles none allow_list '/contact-form-7/v1' true --format=json

gives the desired object:

s:18:"/contact-form-7/v1";b:1

deneme bonusu veren sitelerbahis casinomakrobetceltabetpinbahispolobetpolobet girişpinbahis girişmakrobet girişpulibet girişmobilbahis girişkolaybet giriş