aboutsummaryrefslogtreecommitdiffstats
path: root/enable-organizations.sh
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2017-02-19 14:22:30 +0100
committerSimon Brandhof <simon.brandhof@sonarsource.com>2017-02-19 14:22:30 +0100
commit5b46dbd5881759b326b7a6108e62bff81c5c2362 (patch)
tree19b66658666b767931c1f5927b5f2245680edd84 /enable-organizations.sh
parentc4faf8ce19ca4ff4946c7e0d1aa1d9175896f725 (diff)
downloadsonarqube-5b46dbd5881759b326b7a6108e62bff81c5c2362.tar.gz
sonarqube-5b46dbd5881759b326b7a6108e62bff81c5c2362.zip
Rename enable_organizations.sh to enable-organizations.sh
for consistency with other scripts
Diffstat (limited to 'enable-organizations.sh')
-rwxr-xr-xenable-organizations.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/enable-organizations.sh b/enable-organizations.sh
new file mode 100755
index 00000000000..a671d0bf6d6
--- /dev/null
+++ b/enable-organizations.sh
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+# the user "admin" becomes root and can create organizations
+
+curl -XPOST -u admin:admin "http://localhost:9000/api/organizations/enable_support"