Update a category
update_categoryUpdate a category's name or slug. Renaming is safe; changing slug changes the archive URL and no redirect is provided, so change it only if you accept the broken link.
Instructions
Update a category. Renaming is safe. Changing slug changes the category archive URL on your blog, and nothing is redirected for you, so change it only if you accept the broken link. Changes content on the customer's Site. Nothing becomes public: publishing is always a separate call. Needs a secret key (wv_sk_) carrying the taxonomy:write scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | A UUID. | |
| name | No | ||
| slug | No | ||
| if_match | No | The ETag from your last read of this object. Send it and the write is refused if somebody else changed the object in the meantime, rather than silently overwriting their work. |