Update a category.

Resource url

https://yourproject.userecho.com/api/v2/forums/[forum_id]/categories.json

Parameters

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

Request example

    { "id": 12345, "name": "Renamed category", "description": "Our renamed category", "parent_id": 4 }
  

Response example

    { "feedback_count": 0, "description": "Our renamed category", "name": "Renamed category", "id": 12345 }
  
© 2024 Stamul, LLC. All rights reserved.