ZITADELZZITADEL
Powered by
alexdess_A
ZITADEL•8mo ago•
4 replies
alexdess_

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"
}'
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"}%
{"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.
ZITADEL Docs
ZITADEL banner
ZITADELJoin
ZITADEL - Identity infrastructure, simplified for you.
4,374Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Unable to use v2 api using a PAT
TobiWanTTobiWan / questions-help-bugs
3mo ago
Organization API v2
DarentDDarent / questions-help-bugs
8mo ago