HPE Morpheus Enterprise Software
1856353 Members
10396 Online
104112 Solutions
New Discussion

Re: Bind a domain to a cloud

 
SOLVED
Go to solution
Not applicable

Bind a domain to a cloud

Hello,
Is there a way to bind network domain to clouds, via API or terraform ? (didn’t find in the doc)

regards,

Matthieu

2 REPLIES 2
Not applicable

Re: Bind a domain to a cloud

yes thank you Uthman

Not applicable
Solution

Re: Bind a domain to a cloud

You can do this using the API to update a cloud (https://apidocs.morpheusdata.com/reference/updateclouds) using the following JSON payload:

{
   "zone":{
      "networkDomain":{
         "id": <id-of-network-domain>           # e.g. integer representing the ID of the domain 
      }
   }
}

Hope this helps! :slight_smile: