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:
Yang Wang 2020-12-21 10:45:58 +11:00 committed by GitHub
parent 15f5758957
commit 00c953346f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 203 additions and 116 deletions

View file

@ -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]
--------------------------------------------------
--------------------------------------------------