2026-07-08 22:33:29 +02:00
|
|
|
# `dapi asset rm <ids...>`
|
|
|
|
|
|
|
|
|
|
Deletes one or more assets from the open project by id. Alias: `remove`.
|
|
|
|
|
|
|
|
|
|
## Input
|
|
|
|
|
|
|
|
|
|
- `<ids...>`: asset ids (required)
|
|
|
|
|
|
|
|
|
|
## Output
|
|
|
|
|
|
2026-07-15 12:39:25 +02:00
|
|
|
JSON Lines on stdout, one per deleted asset:
|
2026-07-08 22:33:29 +02:00
|
|
|
|
|
|
|
|
```ts
|
2026-07-15 12:39:25 +02:00
|
|
|
{ id: string; name: string }
|
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.
|