Virtual Machines

Products

Virtual Machines

modifyInstanceAttribute

Description

Modify partial information of a VM, including name and description.

Request method

POST

Request address

https://vm.jdcloud-api.com/v1/regions/{regionId}/instances/{instanceId}:modifyInstanceAttribute

Name Type Required or not Default value Description
regionId String True Region ID
instanceId String True VM ID

Request parameter

Name Type Required or not Default value Description
name String False Name, Refer to the public parameter specification .
description String False Description, Refer to the public parameter specification.

Response parameter

None

Response code

Return code Description
200 OK
400 Invalid parameter
401 Authentication failed
404 Not found
500 Internal server error
503 Service unavailable
Update Time:2019-08-20 17:20:43