Update category or forum

PATCH {{baseUrl}}/api/v1/communityCategory/([0-9]+)

This API updates the details of a category or forum.

OAuth Scope

  • Desk.community.UPDATE

Attributes

Attribute NameData TypeDescription
name<String>
Name of the community category or forum
description<String>
A brief description of the community category or forum
visibility<String>
Visibility setting of the community category or forum. Values allowed are: ALL, LOGGED_IN_USERS, GROUPS , AGENTS and MODERATORS.
post<JSONObject>
Post permission setting of the community category or forum.
respond<JSONObject>
Respond permission setting of the community category or forum.
moderators<JSONArray>
Agents who moderate the community category or forum
groupIds<JSONArray>
Group Ids to associate
moderation<String>
Moderation setting for the community category or forum. Values allowed are: NONE (no moderation), ALL_POSTS (all posts of category will be moderated) and FIRST_POST (only the first forum post of users will be moderated).
canAutoConvertTicket<boolean>
Key that defines whether topics posted in the forum must be automatically converted into tickets or not
associatedDepartmentIds<JSONArray>
IDs of the deparments to be associated with category
deparmentIdForTicketCreation<long>
ID of the deparment in which the ticket must be created
logoId<long>
ID of the uploaded community category logo

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

RESPONSES

status: OK

{&quot;isFollowing&quot;:&quot;false&quot;,&quot;visibility&quot;:&quot;GROUP&quot;,&quot;departmentId&quot;:&quot;20628000000020011&quot;,&quot;description&quot;:&quot;description&quot;,&quot;groups&quot;:[{&quot;name&quot;:&quot;group - 1&quot;,&quot;id&quot;:&quot;700000001671&quot;}],&quot;canAutoConvertTicket&quot;:true,&quot;childs&quot;:[],&quot;associatedDepartmentIds&quot;:[&quot;20628000000020011&quot;],&quot;photoUrl&quot;:&quot;https://desk.zoho.com/api/v1/communityCategory/4000000012009/logo/4000000012019?orgId=1234567&quot;,&quot;post&quot;:{&quot;groupIds&quot;:[&quot;20628000000020011&quot;],&quot;permission&quot;:&quot;GROUPS&quot;},&quot;permissions&quot;:[&quot;POST&quot;,&quot;RESPOND&quot;],&quot;moderation&quot;:&quot;FIRST_POST&quot;,&quot;name&quot;:&quot;new dep updated&quot;,&quot;deparmentIdForTicketCreation&quot;:&quot;20628000000020011&quot;,&quot;parentCategoryId&quot;:&quot;null&quot;,&quot;id&quot;:&quot;20628000000020011&quot;,&quot;position&quot;:&quot;1&quot;,&quot;permalink&quot;:&quot;new-dep-updated-permalink&quot;,&quot;respond&quot;:{&quot;groupIds&quot;:[&quot;20628000000020011&quot;],&quot;permission&quot;:&quot;GROUPS&quot;},&quot;status&quot;:&quot;ENABLED&quot;,&quot;moderators&quot;:[{&quot;photoUrl&quot;:&quot;https://desk.zoho.com/api/v1/agents/7000000015971/photo?orgId=123456&quot;,&quot;name&quot;:&quot;user 2&quot;,&quot;id&quot;:&quot;7000000015971&quot;,&quot;type&quot;:&quot;AGENT&quot;}]}