Browse Platform API
Platform APIEnterprise

Set meeting hosts

Copy

Set the primary host and co-host list of a meeting.

HTTP request

POST {API_ADDRESS}/rtc-meeting/set_meeting_host_info

Request body

ParameterRequiredTypeDescription
meetingIDYesstringMeeting ID.
userIDYesstringUser performing the operation.
hostUserIDNoStringValueNew primary host.
coHostUserIDsYesstring[]Complete co-host user-ID list.

Response

errCode: 0 means host information was updated.

Permissions and limits

  • Available only in OpenIM Enterprise.
  • Validate role-transfer authority before changing the primary host.