I did a check with the following code and it ran ok
- name: System Services Web HTTP-enabled
netapp.ontap.na_ontap_rest_cli:
command: 'set-privelege advanced;system services web modify -http-enabled true'
#privilege: advanced
#return_dict: false
hostname: "{{ hostname }}"
username: "{{ username }}"
password: "{{ password }}"
verb: PATCH
validate_certs: false
#https: true
However when I ran it with I got an api not found error