There is not a method to call this v3 api endpoint - https://v3-apidocs.cloudfoundry.org/version/3.76.0/index.html#get-default-domain to get default domain. As I can see in the docs of v2 api - https://apidocs.cloudfoundry.org/12.0.0/ Domains resource is deprecated and we should adopt v3 API.