Applying to Be a Co-Host
Description
This API is used to assign or relinquish the co-host role. Only guests can be set as co-hosts.
Debugging
You can debug this API in API Explorer.
URI
PUT /v1/mmc/control/conferences/participants/cohost
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
conferenceID |
Yes |
String |
Meeting ID. |
participantID |
Yes |
String |
Participant ID. |
Request Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
X-Conference-Authorization |
Yes |
String |
Meeting control token, which can be obtained by calling the API for Obtaining a Meeting Control Token. |
Response Parameters
Status code: 400
Parameter |
Type |
Description |
---|---|---|
error_code |
String |
Error code. |
error_msg |
String |
Error message. |
Example Request
PUT https://{endpoint}/v1/mmc/control/conferences/participants/cohost?conferenceID=914346822&participantID=b4fff28653da11eab6b7e73d6691f26c { "isCohost" : 1 }
Example Response
Status code: 400
Invalid parameters.
{ "error_code" : "MMC.111072065", "error_msg" : "CONF_NOT_FOUND_OR_AUTH_FAILED" }
Status Codes
Status Code |
Description |
---|---|
200 |
Operation successful. |
400 |
Invalid parameters. |
Error Codes
If an error code starting with MMC or USG is returned when you use this API, rectify the fault by following the instructions provided in Huawei Cloud API Error Center.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot