# removeTileAction()

Removes a previously registered custom tile action from the 3-dots menu of the tiles.&#x20;

In the below example a custom tile action called **sendEmail** is registered and later removed.

<pre class="language-javascript"><code class="lang-javascript"><strong>const actionName = 'sendEmail';
</strong><strong>
</strong><strong>const customCallback = () => {
</strong><strong>   console.log('Custom logic called');
</strong><strong>};
</strong><strong>
</strong><strong>sambaFrame.addTileAction(
</strong><strong>   actionName, 
</strong><strong>   {"label": 'Send Email', scope: ''}, 
</strong><strong>   customCallback
</strong><strong>);
</strong><strong>
</strong><strong>//At some point later
</strong>sambaFrame.removeTileAction(actionName);
</code></pre>
