clearTid
clearTid(): Promise<MXOResult<null>>
Example of usage:
MedalliaMXO.clearTid()
.then(mxoResult => {
if (mxoResult.value && mxoResult.value.apiName) {
// error case
console.error(mxoResult.value)
} else {
// success case
console.log("Tid is cleared")
}
})
.catch(error => {
console.error(error)
})
try {
const {value} = await MedalliaMXO.clearTid()
if (value && value.apiName) {
// error case
console.error(value)
} else {
// success case
console.log("Tid is cleared")
}
} catch (error) {
console.error(error)
}
tid
from local storage only. For instructions on how to completely remove a user's data from Medallia Experience Orchestration, see our api documentation.