mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-24 23:27:25 -04:00
Deprecate the id field for the InvalidateApiKey API (#66317)
This PR deprecates the usage of the id field in the payload for the InvalidateApiKey API. The ids field introduced in #63224 is now the recommended way for performing (bulk) API key invalidation.
This commit is contained in:
parent
15f5758957
commit
00c953346f
12 changed files with 203 additions and 116 deletions
|
@ -23,10 +23,10 @@ The +{request}+ supports invalidating
|
|||
|
||||
. A specific key or all API keys owned by the current authenticated user
|
||||
|
||||
===== Specific API key by API key id
|
||||
===== Specific API keys by a list of API key ids
|
||||
["source","java",subs="attributes,callouts,macros"]
|
||||
--------------------------------------------------
|
||||
include-tagged::{doc-tests-file}[invalidate-api-key-id-request]
|
||||
include-tagged::{doc-tests-file}[invalidate-api-key-ids-request]
|
||||
--------------------------------------------------
|
||||
|
||||
===== Specific API key by API key name
|
||||
|
@ -80,4 +80,4 @@ invalidated.
|
|||
["source","java",subs="attributes,callouts,macros"]
|
||||
--------------------------------------------------
|
||||
include-tagged::{doc-tests-file}[{api}-response]
|
||||
--------------------------------------------------
|
||||
--------------------------------------------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue