Initial commit
First working Version. At least for me.
This commit is contained in:
parent
ab3a1ac598
commit
08ecb731ed
1 changed files with 11 additions and 0 deletions
11
Synapse-deactivate-User.sh
Normal file
11
Synapse-deactivate-User.sh
Normal file
|
@ -0,0 +1,11 @@
|
|||
#!/bin/sh
|
||||
|
||||
start=<start-here>
|
||||
end=<end-here>
|
||||
instance=<my-instance>
|
||||
token=<my-token>
|
||||
|
||||
for number in {$start..$end}
|
||||
do
|
||||
curl --header "Authorization: Bearer $token" -X POST https://$instance/_synapse/admin/v1/deactivate/@$number:$instance
|
||||
done
|
Loading…
Reference in a new issue