Add Pages domain via API

I need to add domains to my app hosted on Pages via the Cloudflare API. Based on the docs, it looks like I can only view a list of domains associated with each application, but I cannot modify them.

This seems like an important feature to expose…am I missing something? Can this be accomplished some other way?