get the subscriber first using subscriberId1 `novu.subscribers.get('subscriberId1')` you will get a

get the subscriber first using subscriberId1
novu.subscribers.get('subscriberId1')

you will get all details of subscriber,
create a new variable and store all tokens except that specific token, by using JS array filter method.

now again store tokens using
novu.subscribers.setCredentials
Was this page helpful?