script
unanchored
cf-api-token-verify
Verify a CF API token is valid and show its status.
cloudflareapitokenauthverify
Body
param([string]$token="")\nif(-not $token){$token=$env:CF_API_TOKEN}\n$r=(Invoke-WebRequest -Uri "https://api.cloudflare.com/client/v4/user/tokens/verify" -Headers @{"Authorization"="Bearer $token"}).Content|ConvertFrom-Json\nWrite-Output "status: $($r.result.status)"\nWrite-Output "id: $($r.result.id)"
Provenance
Cryptographic details
| id | reg_cf_api_health |
| content sha256 | 474f3d2fad153c11b91fc33f17bc4818c11db95546b0e5b3c0442cf28c32b9c0 |
Execute via API
POST /api/execute
{ "ref": "reg_cf_api_health" }
// or by hash prefix:
{ "ref": "474f3d2fad153c11" }
Resolves this artifact by hash — deterministic, provenance-proven. Generation cost is zero when the hash exists.