docs
api
ULightHost(ULHost)
ModifyULHostAttribute

Modify ULightHost Property Information - ModifyULHostAttribute

Overview

Modify the attribute information of the specified ULHost instance, including name and remarks

Definition

Public Parameters

Parameter NameTypeDescription InformationRequired
ActionstringCorresponding API command name, the current API is ModifyULHostAttribute.Yes
PublicKeystringThe user's public key can be obtained from Console (opens in a new tab)Yes
SignaturestringUser signature generated based on public key and API command, see Signature AlgorithmYes

Request Parameters

Parameter NameTypeDescription InformationRequired
RegionstringRegion. See List of Regions and Availability ZonesYes
ProjectIdstringProject ID. If not filled in, the default project is used, sub-accounts must be filled in. Please refer to the GetProjectList interface.No
ULHostIdstringUHost Instance IdYes
NamestringChoose at least one to modify from 'Name' and 'Remark'.No
RemarkstringNote. Choose at least one to modify between Remark and Name.No

Response Field

Field NameTypeDescription InformationRequired
RetCodeintReturn status code. If it is 0, it means successful return. If it is not 0, it means failure.Yes
ActionstringOperation command name.Yes
MessagestringReturns an error message, providing detailed description when RetCode is non-zero.No
ULHostIdstringUHost Instance IdYes

Example

Request Example

https://api.surfercloud.com/?Action=ModifyULHostAttribute
&Region=cn-zj
&Zone=cn-zj-01
&ProjectId=nUXcVYMT
&ULHostId=wBmeXZrL
&Name=EjcGtsVh
&Remark=icjIHmNe

Response Example

{
  "Action": "ModifyULHostAttributeResponse",
  "Message": "tHSPXSoy",
  "RetCode": 0,
  "ULHostId": "PycBMiFr"
}
  • Company
  • ContactUs
  • Blog
Copyright © 2024 SurferCloud All Rights Reserved