You are here: Communications Cloud API v1 > Resources > Subscribers > Change Topic Subscriptions
Change Topic Subscriptions

PUT to /api/account/ACCOUNT_CODE/subscribers/ENCODED_SUBSCRIBER_ID/topics.xml

Example Input

Subscriber will have two topic subscriptions and will not receive notification of the update

<subscriber>
    <send-notifications type='boolean'>false</send-notifications>
      <topics type='array'>
        <topic>
          <code>####</code>
        </topic>
        <topic>
          <code>####</code>
        </topic>
    </topics>
  </subscriber>

All topic subscriptions for this subscriber will be removed and subscriber will be notified

<subscriber>
    <topics type='array' />
  </subscriber>
Elements
Output

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

Troubleshooting

Reference subscriber error codes

 

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