Skip to contents

Delete a specific post in Mattermost

Usage

delete_post(post_id = NULL, verbose = FALSE, auth = authenticate_mattermost())

Arguments

post_id

The ID of the post to delete.

verbose

Boolean. If `TRUE`, the function will print request/response details for more information.

auth

The authentication object created by `authenticate_mattermost()`.

Value

Parsed JSON response confirming deletion.

Examples


if (FALSE) { # \dontrun{
 delete_post(post_id = "fake_id")
} # }