lemmy_purge_post {remmy}R Documentation

Purge / Delete a post from the database.

Description

HTTP.POST /admin/purge/post

Usage

lemmy_purge_post(
  post_id,
  reason = NULL,
  auth,
  .lemmy_instance = getOption("lemmy_instance", "https://lemmy.world")
)

Arguments

post_id

A numeric value.

reason

(Optional) A character value.

auth

A character value.

.lemmy_instance

Default: "https://lemmy.world". Change the default instance by setting the lemmy_instance options().

Value

A list of length 1:

<list>
`-success: A logical value

[Package remmy version 0.1.0 Index]