Class InvalidateApiKeyResponse

All Implemented Interfaces:
Writeable, org.elasticsearch.core.RefCounted, org.elasticsearch.xcontent.ToXContent, org.elasticsearch.xcontent.ToXContentObject

public final class InvalidateApiKeyResponse extends ActionResponse implements org.elasticsearch.xcontent.ToXContentObject, Writeable
Response for invalidation of one or more API keys result.
The result contains information about:
  • API key ids that were actually invalidated
  • API key ids that were not invalidated in this request because they were already invalidated
  • how many errors were encountered while invalidating API keys and the error details
  • Constructor Details

    • InvalidateApiKeyResponse

      public InvalidateApiKeyResponse(StreamInput in) throws IOException
      Throws:
      IOException
    • InvalidateApiKeyResponse

      public InvalidateApiKeyResponse(List<String> invalidatedApiKeys, List<String> previouslyInvalidatedApiKeys, @Nullable List<ElasticsearchException> errors)
      Constructor for API keys invalidation response
      Parameters:
      invalidatedApiKeys - list of invalidated API key ids
      previouslyInvalidatedApiKeys - list of previously invalidated API key ids
      errors - list of encountered errors while invalidating API keys
  • Method Details