Method BlockPerson
| Improve this Doc View SourceBlockPerson(BlockPersonForm, CancellationToken)
Blocks a person.
Declaration
public Task<BlockPersonResponse> BlockPerson(BlockPersonForm form, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
BlockPersonForm | form | The form to send for blocking a person. |
CancellationToken | cancellationToken | Optional cancellation token to pass through to HttpClient |
Returns
Type | Description |
---|---|
Task<BlockPersonResponse> | The task object representing the asynchronous operation. The task result contains the response after blocking a person. |