#!/usr/bin/env -S bash -e [[ -z "$2" ]] && { printf "Usage: %s username password\n" "$0" exit 1 } curl -s -X DELETE -H 'Content-Type: application/json' -H 'Authorization: Bearer '"$(peertube-authcode-gen)" \ 'https://pt.vern.cc/api/v1/users/'"${1}"