2026-07-08 22:33:29 +02:00
|
|
|
# `dapi node rm <ids...>`
|
|
|
|
|
|
|
|
|
|
Deletes one or more entities and all their descendants. Alias: `remove`.
|
|
|
|
|
|
|
|
|
|
## Input
|
|
|
|
|
|
|
|
|
|
- `<ids...>`: one or more entity ids (required)
|
|
|
|
|
|
|
|
|
|
## Output
|
|
|
|
|
|
2026-07-15 12:39:25 +02:00
|
|
|
JSON Lines on stdout, one per deleted entity:
|
2026-07-08 22:33:29 +02:00
|
|
|
|
|
|
|
|
```ts
|
2026-07-15 12:39:25 +02:00
|
|
|
{ id: number }
|
2026-07-08 22:33:29 +02:00
|
|
|
```
|
2026-07-15 12:39:25 +02:00
|
|
|
|
|
|
|
|
## Errors
|
|
|
|
|
|
|
|
|
|
An unknown id fails the whole command before anything is deleted.
|