Skip to main content

delete a single post

DELETE 

/posts/:id.json

delete a single post

Request

Path Parameters

    id integerrequired

Body

    force_destroy booleanrequired

    The SiteSetting.can_permanently_delete needs to be enabled first before this param can be used. Also this endpoint needs to be called first without force_destroy and then followed up with a second call 5 minutes later with force_destroy to permanently delete.

Responses

success response

Loading...