Skip to content

Commit abd78c9

Browse files
authored
DOC-6622 RS: Added note to 7.8/7.22 REST API references that PUT/POST /users/password requests ignore username (#3334)
1 parent 1c39e85 commit abd78c9

2 files changed

Lines changed: 24 additions & 0 deletions

File tree

  • content/operate/rs

content/operate/rs/7.22/references/rest-api/requests/users/password.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ url: '/operate/rs/7.22/references/rest-api/requests/users/password/'
2424

2525
Replaces the password list of the specified user with a single new password. If a `username` is not provided in the JSON request body, it replaces the password list of the authenticated user making this request instead.
2626

27+
{{<warning>}}
28+
For Redis Software version 7.22.0-95, this request ignores the `username` parameter if provided in the request body and changes the password of the authenticated user due to a breaking change introduced in [Redis Software version 7.8.2]({{<relref "/operate/rs/release-notes/rs-7-8-releases/rs-7-8-2-34#breaking-changes">}}). This issue (RS161290) was fixed in [Redis Software version 7.22.0-216]({{<relref "/operate/rs/release-notes/rs-7-22-releases/rs-7-22-0-216">}}).
29+
{{</warning>}}
30+
2731
### Request {#put-request}
2832

2933
#### Example HTTP request
@@ -87,6 +91,10 @@ The following are possible `error_code` values:
8791

8892
Adds a new password to the specified user's password list. If a `username` is not provided in the JSON request body, it adds the password to the password list of the authenticated user making this request instead.
8993

94+
{{<warning>}}
95+
For Redis Software version 7.22.0-95, this request ignores the `username` parameter if provided in the request body and adds the password to the authenticated user's password list due to a breaking change introduced in [Redis Software version 7.8.2]({{<relref "/operate/rs/release-notes/rs-7-8-releases/rs-7-8-2-34#breaking-changes">}}). This issue (RS161290) was fixed in [Redis Software version 7.22.0-216]({{<relref "/operate/rs/release-notes/rs-7-22-releases/rs-7-22-0-216">}}).
96+
{{</warning>}}
97+
9098
### Request {#post-request}
9199

92100
#### Example HTTP request
@@ -150,6 +158,10 @@ The following are possible `error_code` values:
150158

151159
Deletes a password from the specified user's password list. If a `username` is not provided in the JSON request body, it deletes the password from the password list of the authenticated user making this request instead.
152160

161+
{{<warning>}}
162+
For Redis Software version 7.22.0-95, this request ignores the `username` parameter if provided in the request body and deletes the password from the authenticated user's password list due to a breaking change introduced in [Redis Software version 7.8.2]({{<relref "/operate/rs/release-notes/rs-7-8-releases/rs-7-8-2-34#breaking-changes">}}). This issue (RS161290) was fixed in [Redis Software version 7.22.0-216]({{<relref "/operate/rs/release-notes/rs-7-22-releases/rs-7-22-0-216">}}).
163+
{{</warning>}}
164+
153165
### Request {#delete-request}
154166

155167
#### Example HTTP request

content/operate/rs/7.8/references/rest-api/requests/users/password.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ url: '/operate/rs/7.8/references/rest-api/requests/users/password/'
2424

2525
Replaces the password list of the specified user with a single new password. If a `username` is not provided in the JSON request body, it replaces the password list of the authenticated user making this request instead.
2626

27+
{{<warning>}}
28+
For Redis Software versions 7.8.2-34 through 7.8.6-95, this request ignores the `username` parameter if provided in the request body and changes the password of the authenticated user due to a breaking change introduced in [Redis Software version 7.8.2]({{<relref "/operate/rs/release-notes/rs-7-8-releases/rs-7-8-2-34#breaking-changes">}}). This issue (RS161290) was fixed in [Redis Software version 7.8.6-119]({{<relref "/operate/rs/release-notes/rs-7-8-releases/rs-7-8-6-119">}}).
29+
{{</warning>}}
30+
2731
### Request {#put-request}
2832

2933
#### Example HTTP request
@@ -87,6 +91,10 @@ The following are possible `error_code` values:
8791

8892
Adds a new password to the specified user's password list. If a `username` is not provided in the JSON request body, it adds the password to the password list of the authenticated user making this request instead.
8993

94+
{{<warning>}}
95+
For Redis Software versions 7.8.2-34 through 7.8.6-95, this request ignores the `username` parameter if provided in the request body and adds the password to the authenticated user's password list due to a breaking change introduced in [Redis Software version 7.8.2]({{<relref "/operate/rs/release-notes/rs-7-8-releases/rs-7-8-2-34#breaking-changes">}}). This issue (RS161290) was fixed in [Redis Software version 7.8.6-119]({{<relref "/operate/rs/release-notes/rs-7-8-releases/rs-7-8-6-119">}}).
96+
{{</warning>}}
97+
9098
### Request {#post-request}
9199

92100
#### Example HTTP request
@@ -150,6 +158,10 @@ The following are possible `error_code` values:
150158

151159
Deletes a password from the specified user's password list. If a `username` is not provided in the JSON request body, it deletes the password from the password list of the authenticated user making this request instead.
152160

161+
{{<warning>}}
162+
For Redis Software versions 7.8.2-34 through 7.8.6-95, this request ignores the `username` parameter if provided in the request body and deletes the password from the authenticated user's password list due to a breaking change introduced in [Redis Software version 7.8.2]({{<relref "/operate/rs/release-notes/rs-7-8-releases/rs-7-8-2-34#breaking-changes">}}). This issue (RS161290) was fixed in [Redis Software version 7.8.6-119]({{<relref "/operate/rs/release-notes/rs-7-8-releases/rs-7-8-6-119">}}).
163+
{{</warning>}}
164+
153165
### Request {#delete-request}
154166

155167
#### Example HTTP request

0 commit comments

Comments
 (0)