IBM Worklight v5.0.5 > API reference > IBM Worklight client-side API > JavaScript client-side APIWL.Client.deleteUserPref
An asynchronous function that deletes a specified user preference key. The local user preferences in the application are updated only when a successful response is received from the server.
WL.Client.deleteUserPref(key, options)
Parameter Description key The user preference key. Can be up to 128 characters long. options Optional. A standard options object.
Return Value
None.
Parent JavaScript client-side API