Skip to Content
Anuma SDKClientInternalFunctionsputApiV1NotificationsPreferences

putApiV1NotificationsPreferences

putApiV1NotificationsPreferences<ThrowOnError>(options: Options<PutApiV1NotificationsPreferencesData, ThrowOnError>): RequestResult<PutApiV1NotificationsPreferencesResponses, PutApiV1NotificationsPreferencesErrors, ThrowOnError>

Defined in: src/client/sdk.gen.ts:1232 

Set notification preferences

Records explicit per-category opt-in/out choices for the authenticated user. Unknown category ids are rejected. Returns the full resolved category list.

Type Parameters

Type ParameterDefault type

ThrowOnError extends boolean

false

Parameters

ParameterType

options

Options<PutApiV1NotificationsPreferencesData, ThrowOnError>

Returns

RequestResult<PutApiV1NotificationsPreferencesResponses, PutApiV1NotificationsPreferencesErrors, ThrowOnError>

Last updated on