Is there API for adding allowed domain through request?

As we provide SaaS, we also manage custom domains for our clients, and we’d like to automate the addition of Allowed Domains. I looked at the docs but didn’t find the relevant fields and APIs, could you please let me know if there are any?