[logseq-plugin-git:commit] 2023-05-23T05:03:26.666Z

This commit is contained in:
Matthias Eckert 2023-05-23 07:03:26 +02:00
parent fc17bf4db6
commit 12b403b575

View File

@ -1,3 +1,3 @@
- Read from service and put to curl delete #JQ [[Code Snippet]]
- ``
-
- `curl "http://hierarchy.pp.k8s-c1t.vicosrv.de/api/hierarchy/806/categories?topCatID=0&items=false&properties=false&depth=1" | jq '.subCategories | map({"h":.hierarchyID, "c":.catID})[] | "http://hierarchy.pp.k8s-c1t.vicosrv.de/api/hierarchy/\(.h)/categories/\(.c)"' | xargs -n1 curl -X 'DELETE'`
-