Skip to content

Commit

Permalink
put_user: Drop username from body
Browse files Browse the repository at this point in the history
Username is present in both the path and the body, and the docs indicate
that it should only be in the path.

https://www.elastic.co/guide/en/elasticsearch/reference/8.14/security-api-put-user.html
  • Loading branch information
JoshMock committed Jul 23, 2024
1 parent 85b5c31 commit 3d8b19b
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 14 deletions.
13 changes: 1 addition & 12 deletions output/schema/schema.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion output/typescript/types.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion specification/security/put_user/SecurityPutUserRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ export interface Request extends RequestBase {
refresh?: Refresh
}
body: {
username?: Username
email?: string | null
full_name?: string | null
metadata?: Metadata
Expand Down

0 comments on commit 3d8b19b

Please sign in to comment.