v52

latestOpenAPI 3.0.3raw.githubusercontent.com2026-07-2113138232.4 KB
users

Unpublish a User's Articles and Comments

This endpoint allows the client to unpublish all of the articles and comments created by a user.

Administrative Action:

  • Requires the authenticated user to be an Administrator.
  • This is a destructive administrative action that immediately unpublishes all posts/comments from public feeds.
  • Ideal for handling spam accounts or cleanup operations.
put/api/users/{id}/unpublish

Path parameters

idinteger required

The unique numerical ID of the user whose content will be unpublished.

Response

User's articles and comments successfully unpublished