Execution permission
You must be a system administrator or a security administrator.
Request line
PUT base-URL/app/v1/datacenters/object-ID-of-the-data-center
Request message
- Object ID of the data center
-
Specify the value of id acquired by using the request for getting information about a list of data centers.
Attribute
Type
Description
id
string
(Required) Object ID of the data center
- Query parameters
- None.
- Body
-
{ "id": "8a11a1bf6f1c0a95016f8d41c4d7000a", "name": "Yokohama", "description": "Data center of Yokohama city", "attributes": { "city": "Yokohama (Kanagawa, Japan)", "latitude": "35.3200", "longitude": "139.5800" } }
Parameter
Type
Description
id
string
(Required) Object ID of the data center
Specify the value of id acquired by using the request for getting information about a list of data centers.
name
string
(Optional) Data center name
You cannot use the following characters:
/ \ ^ $ . * + ? ( ) [ ] { } |
You cannot specify space character at the start or end.
description
string
(Optional) Description
attributes
object
(Optional) Information about the attributes of the data center
You can define a pair of any key and any value as a map.
Coding example
curl -v -X PUT -H "Content-Type:application/json" -s "https://example.com:443/portal/app/v1/datacenters/8a11a1bf6f1c0a95016f8d41c4d7000a" -d @./request.json -H "Authorization:Bearer eyJhbxxx"