All Products
Search
Document Center

ENS:ModifyEnsEipAddressAttribute

Last Updated:Mar 12, 2024

Modifies the name, description, and peak bandwidth of a specified elastic IP address (EIP).

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
AllocationIdstringYes

The ID of the EIP.

eip-5sw5dxzgi6umq4uexxkt8wpma
NamestringNo

The new name of the EIP. The name must be 2 to 128 characters in length and cannot start with http:// or https://.

test-api-modify
DescriptionstringNo

The new description of the EIP. The description must be 2 to 256 characters in length and cannot start with http:// or https://.

abc
BandwidthintegerNo

The peak bandwidth of the EIP. Default value: 5. Valid values: 5 to 10000. Unit: Mbit/s.

50

Response parameters

ParameterTypeDescriptionExample
object

Schema of Response

RequestIdstring

The ID of the request.

473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E

Examples

Sample success responses

JSONformat

{
  "RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E"
}

Error codes

HTTP status codeError codeError message
400ens.interface.errorAn error occurred while call the API.
400EipNotFoundThe input parameter allocationId that is not found.
400Invalid%sThe specified parameter %s is invalid.
400Missing%sYou must specify the parameter %s.
400IncorrectEipStatusThe current status of the resource does not support this operation.
400InvalidParameter
400NoPermissionPermission denied.
400InvalidParameter.%sThe specified field %s invalid. Please check it again.

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2023-10-17The Error code has changedsee changesets
Change itemChange content
Error CodesThe Error code has changed.
    Error Codes 400 change