How to get all domains and zone_identifier?

#1

Hello. i wanna disable ipv6 using only email and apikey. i know that it possible.
can u prompt me which api commands i should to use?
i think need

  1. get all domains
  2. get zone_identifier by domain
  3. send patch to disable ipv6

but didn find commands for implementation 1,2

#2

https://api.cloudflare.com/#zone-list-zones