curl -X POST https://hapi.7331.org/v1/admin/punishments/user/123456789012345678/warn \ -H "Content-Type: application/json" \ -b cookies.txt \ -d '{"reason": "Excessive API usage"}'
{ "user_discord_id": "123456789012345678", "punishment_type": "WARNING", "reason": "Excessive API usage", "issued_by_discord_id": "999888777666555444", "expires_at": null, "created_at": "2026-03-05T12:00:00Z", "updated_at": "2026-03-05T12:00:00Z" }
Issue a warning to a user or guild (moderator+).
user
guild
WARNING
Was this page helpful?