Public/Block-LemmyCommunity.ps1
Function Block-LemmyCommunity { <# .SYNOPSIS Call Lemmy API .PARAMETER CommunityId .EXAMPLE An example .NOTES Lemmy API class: blockCommunity #> param( [int]$CommunityId ) $RequestParameters = @{ block = $true community_id = $CommunityId } Invoke-LemmyRestMethod -Uri '/community/block' -Method 'POST' -RequestParameters $RequestParameters } |