# tabs.edit

> Rename, hide or show, move (after/before a tab, into or out of a folder) a tab, or change a link’s address.

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

Built-in tabs are `system:canvas`, `system:files`, `system:pins`, `system:workflows` until first changed.

`POST https://app.slaiky.xyz/api/methods/tabs.edit` · 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 (or system:<kind>). 1–60 characters. |
| `title` | string | no | Up to 80 characters, may be `null`. |
| `emoji` | string | no | Up to 16 characters, may be `null`. |
| `url` | string | no | Up to 2,000 characters. |
| `hidden` | boolean | no |  |
| `after` | string | no | Up to 60 characters. |
| `before` | string | no | Up to 60 characters. |
| `parentId` | id | no | May be `null`. |

## 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.edit \
  -H "authorization: Bearer $SLAIKY_BOT_TOKEN" \
  -H 'content-type: application/json' \
  -d '{"channel":"#general","tab":"<tab>"}'

```
