Tab mute method

Hello,
I am searching for a method to mute a tab by an addon.
I only found how to get information about the mute status but not how to change it.
I need this for mute a tab when there is a special content on the page.
Thanks

browser.tabs.update(tabId, { muted: true, })), undo with { muted: false, }.
Assuming you are talking about WebExtensions.