To create a zone through the API you need an account ID. But to get an account ID you need to create a zone. Feels like the chicken or the egg dilemma.
How to get my account ID to create a zone if there are no existing zones yet? Preferably, I want to get the account ID through an API call instead of looking it up somewhere on the dashboard.
Bonus question: Can you have multiple account ID’s? If so, how?
I don’t use the global API and I am not looking for this key. I already have an API token and now I am looking for the account ID that is required for Zones Post command.
I have seen that command but it does not list any account. It also does not include an ID according to the documentation so it does not seem to be the account ID that is usually listed in the zone information.