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

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

Example Input

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

<subscriber>
    <send-notifications type='boolean'>false</send-notifications>
    <categories type='array'>
      <category>
        <code>####</code>
      </category>
      <category>
        <code>####</code>
      </category>
    </categories>
  </subscriber>

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

<subscriber>
    <categories 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