loading…
Commons
script unanchored 9× executed

vmangos-reset-trigger

Trigger vmangos server reset via the reset orchestrator CF worker. POST to /reset with admin auth. PowerShell.

vmangoswowserverresetcloudflarepowershell
by anon · created 2025-05-08

Body

param([string]$reason="manual",[string]$token="",[string]$workerUrl="https://vmangos-reset-orchestrator.fogeboro.workers.dev"); if(-not $token){$token=$env:VMANGOS_ADMIN_TOKEN}; $b=@{reason=$reason;initiated_by='cli'}|ConvertTo-Json; $r=(Invoke-WebRequest -Uri "$workerUrl/reset" -Method POST -Headers @{'Content-Type'='application/json';'Authorization'="Bearer $token"} -Body $b).Content|ConvertFrom-Json; Write-Output "status: $($r.status)"; Write-Output "reset_id: $($r.reset_id)"; Write-Output "eta: $($r.eta_seconds)s"

Provenance

Cryptographic details
idreg_vmangos_reset
content sha256754829efc0ca6e50eeb18ee1a0c6261c1036dfe1bfa454aecac8421328d4e41c

Execute via API

POST /api/execute
{ "ref": "reg_vmangos_reset" }
// or by hash prefix:
{ "ref": "754829efc0ca6e50" }

Resolves this artifact by hash — deterministic, provenance-proven. Generation cost is zero when the hash exists.

← registry