Skip to main content
POST
/
v1
/
admin
/
chats
/
{chat_id}
/
transfer
Transfer Chat Ownership
curl --request POST \
  --url https://portal-api.7331.org/v1/admin/chats/{chat_id}/transfer \
  --header 'Content-Type: application/json' \
  --data '
{
  "new_owner_id": 123
}
'
{
  "message": "Chat 'main-lobby' transferred to user 42"
}

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 Owner permission level.

Path Parameters

chat_id
integer
required
Chat ID

Request Body

new_owner_id
integer
required
User ID of the new owner

Response

Returns confirmation with action details.
message
string
Action result message
{
  "message": "Chat 'main-lobby' transferred to user 42"
}