Browse the docs

DELETE /trash/{id}

Deletes one macro from Recently Deleted for good.

Details #

Erases the macro's file from Recently Deleted. There is no undo. Returns {"purged": true}, or 404 when nothing there has that id.

curl -s -X DELETE -H "Authorization: Bearer $TOKEN" http://127.0.0.1:48080/trash/m_4f2a9c

Parameters #

curl --unix-socket "$SWITCHBOARD_HOME/engine.sock" -X DELETE http://localhost/trash/{id}

Delete a macro from Recently Deleted for good. The Unix socket needs no token; loopback 127.0.0.1:48080 needs Authorization: Bearer <api-token>.

See also #