Method DeletePost
| Improve this Doc View SourceDeletePost(DeletePostForm, CancellationToken)
Deletes a post.
Declaration
public Task<PostResponse> DeletePost(DeletePostForm form, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| DeletePostForm | form | The form to send for deleting a post. |
| CancellationToken | cancellationToken | Optional cancellation token to pass through to HttpClient |
Returns
| Type | Description |
|---|---|
| Task<PostResponse> | The task object representing the asynchronous operation. The task result contains the response after deleting the post. |