View the original community article here
Last tested: Oct 7, 2019
You can soft-delete a look using the update_look()
API to change the look's deleted
property to true
. In the Ruby SDK, this looks like this:
update_look(lookid, {deleted: true})
You can soft-delete a dashboard the same way, using update_dashboard()
.
Soft-deleted content can be undeleted by updating deleted
to false
.
Soft-delete means that it the row still resides in the Looker db, but (as of Looker 6.16) is excluded from all_looks
and search_looks
unless you specifically ask for deleted=true
.
This content is subject to limited support.