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"
}'{"code":5, "message":"Not Found"}%