#!/usr/bin/env bash token=$(curl -H "Content-Type: application/json" --data '{"email": "script", "password":"k3BfnTa98j9A"}' "https://api.clan-war.net/api/v1/auth/login") curl -X PUT --data '{"email": "bs14", "password":"bs14", "name": "bs14"}' -H "Authorization: Bearer $token" -H "Content-Type: application/json" "https://api.clan-war.net/api/v1/users/9305331f-c3ce-4011-9056-0ec788b76cfa"