NEST by Elastic and contributors

<PackageReference Include="NEST" Version="7.8.2" />

.NET API 4,648,448 bytes

 DisableUserRequest

Request for DisableUser

https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-disable-user.html

public Refresh? Refresh { get; set; }

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.

protected IDisableUserRequest Self { get; }

public DisableUserRequest(Name username)

/_security/user/{username}/_disable

protected DisableUserRequest()

Used for serialization purposes, making sure we have a parameterless constructor