You are here: Communications Cloud API v1 > Resources > Topics > Change a Topic's Categories

Change a Topic's Categories

PUT to /api/account/ACCOUNT_CODE/topics/TOPIC_CODE/categories.xml

Example Input

Topic will have two categories

<topic>
    <categories type='array'>
      <category>
        <code>####</code>
      </category>
      <category>
        <code>####</code>
      </category>
    </categories>
  </topic>

Topic will have no categories

<topic>
    <categories type='array' />
  </topic>
Elements
Output

A successful operation will have a 200 OK response status and an empty response body.

Troubleshooting

Reference topic error codes

 

Was this page helpful? Can't find what you need? Let us know