Skip to main content
PUT
JavaScript

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

user_id
string
required

A unique identifier associated with the user whose preferences you wish to update.

Query Parameters

tenant_id
string | null

Replace the preferences of a user for this specific tenant context.

Body

application/json
topics
UsersBulkTopicPreferenceUpdate · object[]
required

The complete set of topic overrides for the user. Up to 50 topics may be provided. Any existing override not listed here is reset to its topic default; an empty array resets every existing override.

Maximum array length: 50

Response

The replacement was applied. items contains the complete resulting set of topic overrides for the user, and deleted lists the ids of the overrides that were reset to their topic default.

items
UsersBulkPreferenceTopic · object[]
required

The complete resulting set of topic overrides for the user.

deleted
string[]
required

The ids of the overrides that were reset to their topic default.