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