This commit is contained in:
2026-01-08 01:00:26 +10:30
commit 211854ca0a
70 changed files with 5241 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
#!/bin/bash
# Script to request user organizations with bearer token
# Usage: ./request_organizations.sh <bearer_token>
if [ $# -ne 1 ]; then
echo "Usage: $0 <bearer_token>"
exit 1
fi
TOKEN=$1
curl -s -H "Authorization: Bearer $TOKEN" http://127.0.0.1:8888/api/v1/users/me/organizations