alexdess_A
ZITADEL9mo 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"
}'


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
Adds a custom domain to the instance in context.
ZITADEL Docs
Was this page helpful?