Edit domain
Description
Gets a list of all domains in CloudShell
HTTP method
PUT
Request
 URL
URL
                                        http://{Admin API IP}:{port#}/api/v1/domains/{id} Headers
Headers
                                        Example header format:
Authorization: Basic <authorization token returned from the login method>
                                            
Content-Type: application/json
                                            
| Parameter | Description/Comments | 
|---|---|
| id | (string) Domain's id. | 
 Request body
Request body
                                        | Parameter | Description/Comments | 
|---|---|
| Name | (string) Domain name. | 
| Description | (string) Domain description. | 
| EndTime | (string) End time of domain's validity. When the end time is reached, the domain will be accessible but no longer in use. | 
| Archived | (bool) true to archive the domain. | 
| LicensePoolId | (string) Id of the license pool. Can be retrieved via Get all license pools. | 
 Request body
Request body
                                        {
    "Name": "MyFirstDomain",
    "Description": "Updated domain",
    "EndTime": "05/20/2023 4:37:00 PM",  
    "Archived": true,
    "LicensePoolId": "7932E56D-057E-47FE-8E37-B00600A97C7F"
} Request example
Request example
                                        {
  "Description": "domain's new description",
  "Name": "domain's new name"  
}Response
 Response code
Response code
                                        200 OK
                                        


 
                                    



