# tabs.remove

> Remove a tab (a folder takes what’s in it along).

Source: https://slaiky.xyz/docs/reference/methods/tabs.remove

Built-in tabs can only be hidden (tabs.edit with hidden).

`POST https://app.slaiky.xyz/api/methods/tabs.remove` · needs `tabs:write`

## Arguments

| Argument | Type | Required | What |
| --- | --- | --- | --- |
| `channel` | string | yes | Channel id, or "#name" for channels. 1–81 characters. |
| `tab` | string | yes | Tab id. 1–60 characters. |

## Answer

`{ "ok": true, … }` with: tabs: ChannelTabs. A refusal is `{ "ok": false, "error": { "code", "message" } }` ([errors](/docs/errors)).

## Example

The required arguments, with placeholders in angle brackets.

*you run*

```sh

curl -s https://app.slaiky.xyz/api/methods/tabs.remove \
  -H "authorization: Bearer $SLAIKY_BOT_TOKEN" \
  -H 'content-type: application/json' \
  -d '{"channel":"#general","tab":"<tab>"}'

```
