1
0
James Ketrenos 46cfa0f92b Added kick and admin
Signed-off-by: James Ketrenos <james_eikona@ketrenos.com>
2022-01-28 14:36:33 -08:00

14 lines
283 B
Bash
Executable File

#!/bin/bash
ADMIN="ui2qNb8PYo6NaPVcLuFXx2nQD6U7Alsm"
id=$1
user=$2
curl --noproxy '*' -s -L \
--request PUT \
--header "PRIVATE-TOKEN: ${ADMIN}" \
--header "Content-Type: application/json" \
http://localhost:8930/ketr.ketran/api/v1/games/${id}/kick/${user} |
jq .status