/
Delete element(s)

Delete element(s)

There are two options to delete an element from the library:

  • only from the database (keeps the file on disk)

  • from the database and the file on disk

 

How to delete element(s)

with the GUI

  • go to Gallery view

  • select element(s) you want to delete

  • go to edit mode

  • click Delete Element button

with the API

  • use the CLI version

  • delete an element by its UUID

  • Windows:
    das-element-cli.exe delete-element 0186e9be35a330e468312ca02ef6ebe4 --database --disk

  • Linux/MacOS:
    das-element-cli delete-element 0186e9be35a330e468312ca02ef6ebe4 --database --disk

There are two flags (they can be used together):

--database set this flag to delete data from the database
--disk set this flag to delete all element files from disk

Related content

Migrate elements to another library
Migrate elements to another library
More like this
Setup
More like this
API
More like this
Convert database
Convert database
More like this
Move library data
Move library data
More like this
Collections
More like this