alexdess_
alexdess_•3mo ago

Add a custom domain using v2 api

Hello, is the documentation https://zitadel.com/docs/apis/resources/instance_service_v2/instance-service-add-custom-domain up to date ? I'm not able to add a custom domain to my self-hosted environment I tried the following curl command curl -L 'https://$mydomain/v2beta/instances/324246455537679261/custom-domains' \ -H 'Content-Type: application/json' \ -H 'Accept: application/json' \ -H 'Authorization: Bearer <mytoken>' \ -d '{ "domain": "custom.$mydomain" }' I got the following error message {"code":5, "message":"Not Found"}% Is the endpoint correctly documented ? Am I missing something ? Is it possible to add a custom domain through the UI ? (v 3.3.0). Thank you
ZITADEL Docs
Adds a custom domain to the instance in context.
3 Replies
alexdess_
alexdess_OP•3mo ago
Or is the v1 working for the self-hosted mode ? https://zitadel.com/docs/apis/resources/system/system-service-add-domain#adds-a-domain-to-an-instance I am really not able to add a custom domain.
ZITADEL Docs
Deprecated: Use AddCustomDomain instead to add a custom domain to the instance in context
fcoppede
fcoppede•3mo ago
👋 hello @alexdess thanks for reaching out to us! I have forwarded your question to Engineering, as soon as I get a response I will get back to you, thank you! hello again @alexdess , this endpoint is expected to be included in V4 (next major release)
Gigi the Giraffe (Zitadel)
🎉 Looks like you just helped out another community member! Thanks for being so helpful <@854908558415495188>! You're now one step closer to leveling up—keep up the amazing peer support! 🚀

Did you find this page helpful?