Symptoms
Once created, a temporary domain cannot be converted to registered using the API.
Cause
Once you have a temporary domain created, and you want to convert it to a registered domain, the API returns an error that the temporary domain is not one of your Addon domains.
uapi --user=tempuser2 Domain convert_temporary_to_registered domain=curious-ruby-porpoise.10-2-66-60.cpanel.site registered=curious-ruby-porpoise.tld
---
apiversion: 3
func: convert_temporary_to_registered
module: Domain
result:
data: ~
errors:
- The domain “curious-ruby-porpoise.10-2-66-60.cpanel.site” is not one of your addon domains.
messages: ~
metadata: {}
status: 0
warnings: ~
We've opened an internal case for our development team to investigate this further. For reference, the case number is CPANEL-48837. Follow this article to receive an email notification when a solution is published in the product.
Resolution
You can still use the Modify An Account UI within WHM to convert the domain.