Update a category.
https://Your project.userecho.com/api/v2/forums/[forum_id]/categories.json
Parameter | Value | Required? | Default | Options | Description |
---|---|---|---|---|---|
id | Integer | yes | ID | ||
name | String | no | Category name | ||
description | String | no | "" | Category description | |
parent_id | Integer | no | null | Parent category ID |
{
"id": 12345,
"name": "Renamed category",
"description": "Our renamed category",
"parent_id": 4
}
{
"feedback_count": 0,
"description": "Our renamed category",
"name": "Renamed category",
"id": 12345
}