
# 删除与会者 - DeleteAttendees
#### 描述
该接口用于删除与会者。
#### 调试
您可以在[API Explorer](https://apiexplorer.developer.huaweicloud.com/apiexplorer/doc?product=Meeting&api=DeleteAttendees)中调试该接口。
#### URI
POST /v1/mmc/control/conferences/attendees/delete
#### 请求参数
表1参数说明 
| 参数                         | 是否必须 | 类型                                                                            | 位置     | 描述                                                                                           |
|:---|:---|:---|:---|:---|
| conferenceID               | 是    | String                                                                        | Query  | 会议ID。                                                                                        |
| X-Conference-Authorization | 是    | String                                                                        | Header | 会控Token，通过[获取会控token](https://support.huaweicloud.com/api-meeting/meeting_21_0027.html)接口获得。 |
| bulkDelAttendInfo          | 是    | Array of [DelAttendInfo] objects | Body   | 待删除会场列表。                                                                                     |
   
 表2DelAttendInfo参数说明 
| 参数            | 是否必须 | 类型     | 位置   | 描述                 |
|:---|:---|:---|:---|:---|
| number        | 是    | String | Body | 会场号码。              |
| participantID | 否    | String | Body | 与会者标识，已入会的必须填写该字段。 |
   
#### 状态码
表3状态码说明 
| HTTP状态码 | 描述        |
|:---|:---|
| 200     | 操作成功。     |
| 400     | 参数异常。     |
| 401     | 未鉴权或鉴权失败。 |
| 403     | 权限受限。     |
| 500     | 服务端异常。    |
   
#### 响应参数
无
#### 请求消息示例
```
POST /v1/mmc/control/conferences/attendees/delete?conferenceID=914083136
Connection: keep-alive
X-Conference-Authorization:stbaf8fa2ea8a1b0e3ab2e007a85a75f88c55d5f6d5c1912dfb
user-agent: WeLink-desktop
Host: api.meeting.huaweicloud.com
User-Agent: Apache-HttpClient/4.5.3 (Java/1.8.0_191)
{
  "bulkDelAttendInfo": [
    {
      "number": "+991116003815",
      "participantID": "ba9acb1e216d11eabc5165c2b91ad427"
    }
  ]
}
```
#### 响应消息示例
```
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: 8e6fe9e1d0a45e33398f426a227e855a
Server: api-gateway
X-Request-Id: 8957e54c2881f52125edd6439995fbf7
```
#### 错误码
当您使用华为云会议服务端API时，如果遇到"MMC"或者"USG"开头的错误码，请参考[华为云API错误中心](https://apierrorcenter.developer.huaweicloud.com/apierrorcenter/errorcode?product=Meeting)。
#### CURL命令示例
```
curl -k -i -H 'content-type: application/json' -X POST -H 'X-Conference-Authorization:stb39b3f21898d4972fed86b3f22ac70914a77303def15e126a' -d '{"bulkDelAttendInfo":[{"number":"+991116003815","participantID":"ba9acb1e216d11eabc5165c2b91ad427"}]}' https://api.meeting.huaweicloud.com/v1/mmc/control/conferences/attendees/delete?conferenceID=914083136
```
