Last active
August 28, 2020 23:03
-
-
Save PieterScheffers/274b8e46220d28bf77e8cf76bfd0f53e to your computer and use it in GitHub Desktop.
Revisions
-
PieterScheffers revised this gist
Mar 19, 2019 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -9,7 +9,7 @@ curl \ -X POST \ -H "Content-Type: application/json" \ -H "Accept: application/json" \ -d '[{"action":"delete","all":true,"path":"/","query":""}]' \ -u "${STACK_USER}:${STACK_PASSWORD}" \ https://$STACK_URL/api/trashbin
-
PieterScheffers revised this gist
Mar 19, 2019 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -11,5 +11,5 @@ curl \ -H "Accept: application/json" \ -d '[{"action":"delete","all":true,"path":"/","query":""}]' -u "${STACK_USER}:${STACK_PASSWORD}" https://$STACK_URL/api/trashbin
-
PieterScheffers revised this gist
Mar 19, 2019 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -5,10 +5,11 @@ STACK_USER=myuser STACK_PASSWORD=nooneknowsthis curl \ --silent \ -X POST \ -H "Content-Type: application/json" \ -H "Accept: application/json" \ -d '[{"action":"delete","all":true,"path":"/","query":""}]' -u "${STACK_USER}:${STACK_PASSWORD}" https://@$STACK_URL/api/trashbin
-
PieterScheffers created this gist
Mar 19, 2019 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,14 @@ #!/bin/sh STACK_URL=myuser.stackstorage.com STACK_USER=myuser STACK_PASSWORD=nooneknowsthis curl \ -X POST \ -H "Content-Type: application/json" \ -H "Accept: application/json" \ -d '[{"action":"delete","all":true,"path":"/","query":""}]' -u "$STACK_USER:$STACK_PASSWORD" https://@$STACK_URL/api/trashbin