How to get all domains and zone_identifier?

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

The documentation is not clear on a method to retrieve all zones and their identifiers