Update Custom Datacenter

Update Custom Datacenter

Update a custom datacenter

Request
URI
PUT
https://{api_host}/suite-api/api/resources/customdatacenters
COPY
Request Body

Custom datacenter

custom-datacenter of type(s) application/json
Required

Show optional properties

{
    "name": "string",
    "childResourceIds": [
        {}
    ]
}
"{\n  \"id\" : \"88be30b0-e80c-4a27-8f7a-e562eac62650\",\n  \"name\" : \"custom datacenter\",\n  \"description\" : \"custom datacenter description\",\n  \"childResourceIds\" : [ \"e08df6e6-8bde-41b9-8e71-17a1b6853d41\", \"77d76dd3-59d5-4b2c-8861-73a0c6ccec03\" ]\n}"
string As uuid As uuid
id
Optional

Identifier of custom datacenter

string
name
Required

Name of custom datacenter

string
description
Optional

Description of custom datacenter

array of string
childResourceIds
Required

Resource IDs included in custom datacenter

Authentication
This operation uses the following authentication methods.
Responses
200

Updated custom datacenter

Returns custom-datacenter of type(s) application/json
"{\n  \"id\" : \"88be30b0-e80c-4a27-8f7a-e562eac62650\",\n  \"name\" : \"custom datacenter\",\n  \"description\" : \"custom datacenter description\",\n  \"childResourceIds\" : [ \"e08df6e6-8bde-41b9-8e71-17a1b6853d41\", \"77d76dd3-59d5-4b2c-8861-73a0c6ccec03\" ]\n}"
string As uuid As uuid
id
Optional

Identifier of custom datacenter

string
name
Required

Name of custom datacenter

string
description
Optional

Description of custom datacenter

array of string
childResourceIds
Required

Resource IDs included in custom datacenter


409

There are conflicting clusters

Operation doesn't return any data structure

Code Samples
COPY
                    curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"childResourceIds":["string"],"name:"string"}' https://{api_host}/suite-api/api/resources/customdatacenters