update_category
Modify an existing WordPress category's name, slug, parent, or description via the WordPress REST API.
Instructions
Update an existing category in WordPress site. Only provided fields will be updated.
At least one field must be provided to update.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New name of the category - default: None | |
| slug | No | New slug for the category - default: None | |
| parent_id | No | New parent ID of the category - default: None | |
| category_id | Yes | The ID of the category to update | |
| description | No | New description of the category (accepts HTML tags) - default: None |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||