# Discourse API 'update category' required parameters

**URL:** <https://meta.discourse.org/t/discourse-api-update-category-required-parameters/132424>\
**Category:** Development\
**Tags:** rest-api\
**Created:** [2 november 2019 om 00:47 UTC](https://meta.discourse.org/t/discourse-api-update-category-required-parameters/132424 "2019-11-02T00:47:20Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![andrew5](https://avatars.discourse-cdn.com/v4/letter/a/eb8c5e/32.png) [@andrew5](https://meta.discourse.org/u/andrew5)\
**Post date:** [2 november 2019 om 00:47 UTC](https://meta.discourse.org/t/discourse-api-update-category-required-parameters/132424/1 "2019-11-02T00:47:20Z")

</div>

Why are the `name`, `color`, and `text_color` attributes required for the update category route  
([Discourse API Docs](https://docs.discourse.org/#tag/Categories/paths/~1categories~1%7Bid%7D/put))?

It seems like attributes such as the `slug` should be able to be updated without specifying any other attributes.

---

_[View the full topic](https://meta.discourse.org/t/discourse-api-update-category-required-parameters/132424)._
