lib/elasticsearch/api/actions/security/invalidate_token.rb in elasticsearch-api-8.11.2 vs lib/elasticsearch/api/actions/security/invalidate_token.rb in elasticsearch-api-8.12.0
- old
+ new
@@ -25,10 +25,10 @@
# Invalidates one or more access tokens or refresh tokens.
#
# @option arguments [Hash] :headers Custom HTTP headers
# @option arguments [Hash] :body The token to invalidate (*Required*)
#
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/8.11/security-api-invalidate-token.html
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/8.12/security-api-invalidate-token.html
#
def invalidate_token(arguments = {})
request_opts = { endpoint: arguments[:endpoint] || "security.invalidate_token" }
raise ArgumentError, "Required argument 'body' missing" unless arguments[:body]