百度智能云

All Product Document

          Elastic IP

          Update Automatic Release Time of a Bandwidth Packet

          Description

          • Update automatic release time of bandwidth packet.
          • autoReleaseTime represents the automatic release time, and the time format is required to conform to UTC format (such as"2019-08-03T20:38:43Z") and the time should be between the current time and the expiration time of prepaid instance bound.

          Request Structure

          PUT /v{version}/eipbp/{id}?{action}&clientToken={clientToken} HTTP/1.1
          Host: eip.bj.baidubce.com
          Authorization: authorization string
          { 
              "autoReleaseTime":autoRelease 
          }  

          Request Header

          There are no other special headers except the public headers.

          Request Parameter

          Parameter Name Type Required or not Parameter Position Description
          version String Yes URL parameter API version number (the current value is 1)
          clientToken String No Query parameter Idempotent Token
          id String Yes URL parameter Bandwidth packet id
          action String Yes Query parameter For the operation executed by bandwidth packet, the value in this interface is retime.
          autoReleaseTime String Yes RequestBody parameter Automatic release time of updated bandwidth packet

          Return Status Code

          200 is returned successfully, for the failed return, please see Error code.

          Return Header

          There are no other special headers except the public headers.

          Return Parameter

          There is no special return parameter.

          Request Example

          PUT /v1/eipbp/bw-2ede9df3?retime&clientToken=be31b98c-5e41-4838-9830-9be700de5a20 HTTP/1.1
          HOST eip.bj.baidubce.com
          Authorization bce-auth-v1/5e5a8adf11ae475ba95f1bd38228b44f/2016-04-10T08:26:52Z/1800/host;x-bce-date/ec3c0069f9abb1e247773a62707224124b2b31b4c171133677f9042969791f02
          {
              "autoReleaseTime": "2019-08-23T12:38:43Z"
          }

          Response Example

          HTTP/1.1 200 OK
          x-bce-request-id: f7302165-756d-4c83-bb7a-1d4548fbba8c
          Cache-Control: no-cache
          Server: BWS
          Previous
          Query Information of a Bandwidth Packet List
          Next
          Update Bandwidth Packet Name