Restore trashed topics

POST {{baseUrl}}/api/v1/communityTopics/restore

This API restores topics from trash.

OAuth Scope

  • Desk.community.UPDATE

Attributes

Attribute NameData TypeDescription
topicIds (required)<JSONArray>
IDs of the topics that must be approved

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

RESPONSES

status: OK

{&quot;results&quot;:[{&quot;success&quot;:&quot;true&quot;,&quot;id&quot;:&quot;103417000000528003&quot;,&quot;errors&quot;:&quot;null&quot;},{&quot;success&quot;:&quot;true&quot;,&quot;id&quot;:&quot;103417000000528006&quot;,&quot;errors&quot;:&quot;null&quot;},{&quot;success&quot;:&quot;false&quot;,&quot;id&quot;:&quot;103417000000528008&quot;,&quot;errors&quot;:&quot;null&quot;}]}