百度智能云

All Product Document

          Simple Cache Service SCS

          Modify the Access Password

          Description

          Change access password

          Request Structure

          PUT /v1/instance/{instanceId}/modifyPassword  clientToken={clientToken} HTTP/1.1
          
          Host: redis.{region}.baidubce.com
          Authorization authorization string

          Request Header Field

          There are no other special header fields except the public header field.

          Request Parameter

          Parameter Name Type Required Parameter Position Description
          Parameter Name Type Required Parameter Position Description
          version string Yes URI Parameter API version No.
          clientToken string Yes Query parameters It is an idempotent Token, which is an ASCII character string with length of no more than 64 bits.
          instanceId String Yes Query parameters Instance Id
          password String Yes RequestBody parameter The password is 8 ~ 16 bits and contains at least either two characters of letters, numbers, and special characters. The allowed special characters include $ ^ * () _ +-=, the passwords need to be encrypted for transmission, and plaintext transmission is prohibited. For details, please see the definition of password encrypted transmission specifications.

          Request Examples

          PUT /v1/instance/scs-bj-ykfiztgpxjny/modifyPassword HTTP/1.1
          HOST: redis.bj.baidubce.com
          ContentType: application/json 
          Authorization bce-auth-v1/f81d3b34e48048fbb2634dc7882d7e21/2017-11-21T04:17:29Z/3600/host/74c506f68c65e26c633bfa104c863fffac5190fdec1ec24b7c03eb5d67d2e1de
          {
            "password": "password"
          }

          Return Header Field

          There are no other special header fields except the public header field.

          Return Parameters

          No special return parameters.

          Previous
          Delete an IP Whitelist
          Next
          Parameter Management