Renaming a Participant
Description
This API is used to change the name of a participant.
Debugging
You can debug this API in API Explorer.
Prototype
Request Method |
PUT |
---|---|
Request Address |
/v1/mmc/control/conferences/participants/name |
Transport Protocol |
HTTPS |
Request Parameters
Parameter |
Mandatory |
Type |
Location |
Description |
---|---|---|---|---|
conferenceID |
Yes |
String |
Query |
Meeting ID. |
X-Conference-Authorization |
Yes |
String |
Header |
Meeting control token, which can be obtained by calling the API for Obtaining a Meeting Control Token. |
participantID |
No |
String |
Body |
Participant ID. This parameter is mandatory for participants who have joined the meeting. |
number |
Yes |
String |
Body |
Participant number. |
newName |
Yes |
String |
Body |
New name. |
Status Codes
HTTP Status Code |
Description |
---|---|
200 |
Operation successful. |
400 |
Invalid parameters. |
401 |
Authentication is not performed or fails. |
403 |
Insufficient permissions. |
500 |
Server exception. |
Response Parameters
None
Example Request
PUT /v1/mmc/control/conferences/participants/name?conferenceID=914044873 Connection: keep-alive X-Conference-Authorization:stbaf8fa2ea8a1b0e3ab2e007a85a75f88c55d5f6d5c1912dfb content-type: application/json user-agent: WeLink-desktop Content-Length: 107 Host: api.meeting.huaweicloud.com User-Agent: Apache-HttpClient/4.5.3 (Java/1.8.0_191) { "participantID":"f131536e21ff11eab12735e1cddf6d01", "number":"+99111252010982686", "newName":"boss Li" }
Example Response
HTTP/1.1 200 Date: Wed, 18 Dec 2019 06:20:40 GMT Content-Type: application/json;charset=UTF-8 Content-Length: 39 Connection: keep-alive http_proxy_id: 43469f3f0e83a0c7d64fafea7c7f9034 Server: api-gateway X-Request-Id: a7f3a6808533d2a011b17070587764e8
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.
Example cURL Command
curl -k -i -H 'content-type: application/json' -X PUT -H 'X-Conference-Authorization:stb39b3f21898d4972fed86b3f22ac70914a77303def15e126a' -d '{"participantID":"e45d8c474fbd11e98a8ddbc91eafd8e8","number":"+99111*******","newName":"boss Li"}' 'https://api.meeting.huaweicloud.com/v1/mmc/control/conferences/participants/name?conferenceID=914044873'
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