Alisa/native/reset

6 lines
394 B
Text
Raw Permalink Normal View History

2024-07-15 09:26:25 +02:00
#!/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"