• Sign in

rust / artshop · Files

Dogs2 white

GitLab

  • Go to group
  • Project
  • Activity
  • Files
  • Commits
  • Builds 0
  • Graphs
  • Milestones
  • Issues 4
  • Merge Requests 0
  • Labels
  • Wiki
  • Forks
  • Snippets
  • Network
  • artshop
  • server
  • curl
  • deluser.sh
  • Initial checkin
      850da5fe
    Georg Hopp authored
    2022-01-08 17:11:34 +0100  
    Browse Files »
deluser.sh 131 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9
#!/bin/env sh

[[ $# -ne 1 ]] && exit

ID=$1

echo "Delete user ${ID}"

curl -i --request DELETE http://localhost:8080/users/${ID}