v52

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

Unpublish an article

This endpoint allows the client to unpublish an article.

The user associated with the API key must have any 'admin' or 'moderator' role.

The article will be unpublished and will no longer be visible to the public. It will remain in the database and will set back to draft status on the author's posts dashboard. Any notifications associated with the article will be deleted. Any comments on the article will remain.

put/api/articles/{id}/unpublish

Path parameters

idinteger required

The ID of the article to unpublish.

Query parameters

notestring

Content for the note that's created along with unpublishing

Response

Article successfully unpublished