Hello @potemkin_ai
Thanks for clarifying.
You can use the following API route to configure that https://docs.cloudron.io/api/set-domain-config
As an example I fetched the API request directly from the dashboard when configuring a domain.
Here is the current config:
[image: 1774617431637-51db9aa5-724d-4a32-860e-5616d219aad0-image.jpeg]
Now I can run:
export CLOUDRON_DOMAIN=cloudron.dev
export CLOUDRON_ACCESS_TOKEN=YOUR_CLOUDRON_ACCESS_TOKEN
export DOMAIN=certconf.cloudron.dev
curl "https://my.${CLOUDRON_DOMAIN}/api/v1/domains/${DOMAIN}/config?access_token=${CLOUDRON_ACCESS_TOKEN}" \
-H 'content-type: application/json' \
--data-raw "{\"provider\":\"cloudflare\",\"config\":{\"customNameservers\":false,\"email\":null,\"tokenType\":\"ApiToken\",\"defaultProxyStatus\":false},\"tlsConfig\":{\"provider\":\"letsencrypt-prod\",\"wildcard\":false},\"zoneName\":\"${CLOUDRON_DOMAIN}\"}"
and after sending that curl, the config is:
[image: 1774617522756-7e75e0d1-03dc-4ce2-b90b-f4ba378bb70f-image.jpeg]
If there are still question, please ask away.