Lemmy .NET API Lemmy .NET API
Lemmy .NET API Lemmy .NET API

Search Results for

    Improve this Doc

    Method DeleteCommunity

    | Improve this Doc View Source

    DeleteCommunity(DeleteCommunityForm, CancellationToken)

    Deletes a community.

    Declaration
    public Task<CommunityResponse> DeleteCommunity(DeleteCommunityForm form, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    DeleteCommunityForm form

    The form to send for deleting a community.

    CancellationToken cancellationToken

    Optional cancellation token to pass through to HttpClient

    Returns
    Type Description
    Task<CommunityResponse>

    The task object representing the asynchronous operation. The task result contains the response after deleting the community.

    Implements
    ILemmyHttpClient.DeleteCommunity(DeleteCommunityForm, CancellationToken)
    © SlyCedix. All rights reserved.