manage_article_state
Change the publication status of Joomla articles by updating their state to published, unpublished, archived, or trashed using article ID and target state parameters.
Instructions
Manage the state of an existing article on the Joomla website (published, unpublished, archived, trashed)
Input Schema
Name | Required | Description | Default |
---|---|---|---|
article_id | Yes | ||
target_state | Yes |
Input Schema (JSON Schema)
{
"properties": {
"article_id": {
"title": "Article Id",
"type": "integer"
},
"target_state": {
"title": "Target State",
"type": "integer"
}
},
"required": [
"article_id",
"target_state"
],
"type": "object"
}