百度智能云

All Product Document

          Virtual Private Cloud

          Delete Route Rules

          Description

          Delete routing rule.

          Request Structure

          DELETE /v{version}/route/rule/{routeRuleId}?clientToken={clientToken}  HTTP/1.1 
          Host: bcc.bj.baidubce.com      
          Authorization: authorization string      

          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
          clientToken String No Query parameter Idempotence Token is an ASCII string with length not exceeding 64 bytes, for details, please see ClientToken Idempotence
          routeRuleId String Yes Query parameter Route rule id

          Return Header

          There are no other special headers except the public headers.

          Return Parameter

          No special return parameters.

          Request Example

          DELETE /v1/route/rule/rr-dvq3cxpghw5e?clientToken=8257tf9d-b98n-3r6n-a93m-297ng49io149 HTTP/1.1   
          Host: bcc.bj.baidubce.com     
          ContentType: application/json     
          Authorization: bce-auth-v1/5a6f0606bf5e48f29dd132aa76aa5182/2017-06-12T13:13:05Z/1800/content-type;host;x-bce-date/8baeafe6bfc35b0cf6205e87e4ce6c0dbb442375951ace4d16e6c7a4dab95943   

          Return Example

           HTTP/1.1 200 OK     
           x-bce-request-id: 1214cca7 4ad5 451d 9215 71cb844c0a50     
           Date: Mon, 12 Jun 2017 13:13:07 GMT  
           Content Type: application/json;charset=UTF 8     
           Server: BWS
          Previous
          Create Route Rules
          Next
          ACL Related Interface