In Jira Service Desk, when creating an organization, it is possible to link a domain. This means that new users will be linked to that domain when they create a request. Now I want to bulk load all the items from our CRM using an API. I have already created the organization and linked it to the project management project. Now, in the UI, I can link an organization.

Now how can I add email domains using the API instead of doing it manually for hundreds of organizations?