API reference · Terminal
Remove a card or folder
POST
/api/v1/terminal/removeTakes a card or a folder off your Terminal. For a day, Restore a card or folder brings it back. Needs an API key. Terminal and routines open with RoBot: on an account RoBot isn’t open on yet, the answer is permission_denied.
This endpoint needs an API key. See Authentication.
Parameters
idstring- A card’s ID (12 characters, from List your Terminal). Send this or
folder. folderstring- A folder’s name or ID. Send this or
id.
Example
curl -X POST https://roterminal.co/api/v1/terminal/remove \
-H "Authorization: Bearer $ROTERMINAL_API_KEY" \
-H "Content-Type: application/json" \
-d '{"id":"a1b2c3d4e5f6"}'import RoTerminal from 'roterminal'
const rt = new RoTerminal({ apiKey: process.env.ROTERMINAL_API_KEY })
const { data } = await rt.terminal.remove({ id: 'a1b2c3d4e5f6' })from roterminal import RoTerminal
rt = RoTerminal() # reads ROTERMINAL_API_KEY
data = rt.terminal.remove(id="a1b2c3d4e5f6")["data"]Response
Every response is { data, link, as_of }. The fields of data are below.
Fields
The fields in data. A field with nothing to say is left out.
removedstring- The card’s ID.
titlestring- Its title.
notestring- What the answer means, in a sentence, when there’s something to say.