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