Skip to content

deleteAssetLevelUserPreferences ​

Deletes an existing ASSET-Level user preference for an authenticated users.

Supported keys for V1 are: ALP-ABM Audio Bookmark ALP-AFV Aggregated Favourite ALP-BKM Bookmark ALP-CAT Category ALP-COM Comment ALP-EUN Email Unsubscribe ("true" mean unsubscribed) ALP-FAV Favourite ALP-FIL Filter ALP-NUN Notification Unsubscribe ("true" mean unsubscribed) ALP-SHS Search History ALP-TFV Team Favourite ALP-TOP Topic ALP-VBM Video Bookmark ALP-POP Push Notification Opt in/Opt out ALP-EOP Email Notification Opt in/Opt out

Request ​

http
DELETE /rest/user/preferences/asset/{assetId}/key/{key}

Headers ​

HeaderRequiredDescription
x-nextinteract-authtokenYesAuth token returned from loginUser

Parameters ​

ParameterTypeRequiredDescription
assetIdNumberYesPath variable. The asset id of the user preferences to retrieve.
keyString(7)YesPath variable. Key for the asset-level user preference. See keys above.

Response ​

200 OK ​

Sample call: http://localhost:8080/rest/user/preferences/asset/123213/key/ALP-FAV

RESPONSE:

json
{
    "errorCode" : 0,
    "errorMsg" : "OK"
}

Errors ​

ExceptionDescription
WSInvalidAuthTokenExceptionSee Error Definitions
WSCacheServiceExceptionSee Error Definitions
WSInvalidParameterExceptionSee Error Definitions
WSBrochureNotFoundExceptionSee Error Definitions
WSUserPreferenceServiceExceptionSee Error Definitions