You say#tabs.remove
tabs.remove
Remove a tab (a folder takes what’s in it along).
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).
Example
The required arguments, with placeholders in angle brackets.
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>"}'
Updated . Every method, scope, event and limit here is generated from the server’s own code.