Help Center/ Meeting/ Server API Reference/ Meeting Control/ APIs/ Moving a Participant to the Waiting Room
Updated on 2023-12-22 GMT+08:00

Moving a Participant to the Waiting Room

Description

This API is used to move a participant from a meeting to the waiting room.

Debugging

You can debug this API in API Explorer.

URI

PUT /v1/mmc/control/conferences/moveToWaitingRoom

Table 1 Query parameter

Parameter

Mandatory

Type

Description

conferenceID

Yes

String

Meeting ID.

Request Parameters

Table 2 Request header parameter

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.

Table 3 Request body parameter

Parameter

Mandatory

Type

Description

participantID

Yes

String

Participant ID.

Response Parameters

Status code: 400

Table 4 Response body parameters

Parameter

Type

Description

error_code

String

Error code.

error_msg

String

Error message.

Example Request

PUT https://{endpoint}/v1/mmc/control/conferences/moveToWaitingRoom?conferenceID=914370850

{
  "participantID" : "818571d9544e11eab86fff8f8fdcde76"
}

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.