[logseq-plugin-git:commit] 2023-05-23T05:03:26.666Z
This commit is contained in:
parent
fc17bf4db6
commit
12b403b575
@ -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'`
|
||||
-
|
||||
Loading…
x
Reference in New Issue
Block a user