Method BanPerson
| Improve this Doc View SourceBanPerson(BanPersonForm, CancellationToken)
Bans a person.
Declaration
Task<BanPersonResponse> BanPerson(BanPersonForm form, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
BanPersonForm | form | The form to send for banning a person. |
CancellationToken | cancellationToken | Optional cancellation token to pass through to HttpClient |
Returns
Type | Description |
---|---|
Task<BanPersonResponse> | The task object representing the asynchronous operation. The task result contains the response after banning a person. |