Skip to main content
POST
/
v1
/
admin
/
bots
/
{bot_id}
/
update
curl -X POST https://portal-api.7331.org/v1/admin/bots/1/update \
  -H "Content-Type: application/json" \
  -b "psession=YOUR_SESSION" \
  -d '{"bot_type": "official", "rate_limit_per_hour": 2000}'
{
  "message": "Bot 1 updated"
}

Documentation Index

Fetch the complete documentation index at: https://docs.7331.org/llms.txt

Use this file to discover all available pages before exploring further.

Requires an active admin session cookie. Hierarchy enforced against both the current and new bot owner. The bot_type field replaces the old verify/unverify endpoints.
bot_id
integer
required
Bot ID.
name
string
New display name (2-32 characters).
owner_id
integer
New owner ID.
rate_limit_per_hour
integer
New API rate limit per hour (1-100,000).
bot_type
string
Bot type: official, verified, or community. Changing to official/verified logs BOT_VERIFY, changing to community logs BOT_UNVERIFY.

Response

message
string
required
Action result message.
curl -X POST https://portal-api.7331.org/v1/admin/bots/1/update \
  -H "Content-Type: application/json" \
  -b "psession=YOUR_SESSION" \
  -d '{"bot_type": "official", "rate_limit_per_hour": 2000}'
{
  "message": "Bot 1 updated"
}