Skip to content

Commit 02451fd

Browse files
committed
DOC-5248 Feedback update to add 401 status codes back to API reference
1 parent 0e046cb commit 02451fd

File tree

1 file changed

+3
-0
lines changed
  • content/operate/rs/references/rest-api/requests/users

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ The following are possible `error_code` values:
7272
|------|-------------|
7373
| [200 OK](https://www.rfc-editor.org/rfc/rfc9110.html#name-200-ok) | Success, password changed. |
7474
| [400 Bad Request](https://www.rfc-editor.org/rfc/rfc9110.html#name-400-bad-request) | Bad or missing parameters. |
75+
| [401 Unauthorized](http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.2) | The user is unauthorized. |
7576

7677
## Add password {#add-password}
7778

@@ -128,6 +129,7 @@ The following are possible `error_code` values:
128129
|------|-------------|
129130
| [200 OK](https://www.rfc-editor.org/rfc/rfc9110.html#name-200-ok) | Success, new password was added to the list of valid passwords. |
130131
| [400 Bad Request](https://www.rfc-editor.org/rfc/rfc9110.html#name-400-bad-request) | Bad or missing parameters. |
132+
| [401 Unauthorized](http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.2) | The user is unauthorized. |
131133

132134
## Delete password {#delete-password}
133135

@@ -181,3 +183,4 @@ The following are possible `error_code` values:
181183
|------|-------------|
182184
| [200 OK](https://www.rfc-editor.org/rfc/rfc9110.html#name-200-ok) | Success, new password was deleted from the list of valid passwords. |
183185
| [400 Bad Request](https://www.rfc-editor.org/rfc/rfc9110.html#name-400-bad-request) | Bad or missing parameters. |
186+
| [401 Unauthorized](http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.2) | The user is unauthorized. |

0 commit comments

Comments
 (0)