coop-cloud-git-redirect/scripts/gitea-delete-org.sh

10 lines
191 B
Bash
Raw Normal View History

2024-05-31 02:54:02 +00:00
#!/bin/bash
echo "Deleting org: $1"
GITEA_TOKEN=e21ba81d24ea0cea298eca47d0437411def37c66
http \
DELETE \
"https://git.coopcloud.tech/api/v1/orgs/$1" \
Authorization:"token $GITEA_TOKEN"