Class DisableUserRequest


public class DisableUserRequest
extends RequestBase
Disables users in the native realm.
See Also:
API specification
  • Field Details

  • Method Details

    • of

      public static DisableUserRequest of​(java.util.function.Function<DisableUserRequest.Builder,​ObjectBuilder<DisableUserRequest>> fn)
    • refresh

      @Nullable public final Refresh refresh()
      If true (the default) then refresh the affected shards to make this operation visible to search, if wait_for then wait for a refresh to make this operation visible to search, if false then do nothing with refreshes.

      API name: refresh

    • username

      public final java.lang.String username()
      Required - The username of the user to disable

      API name: username