
# 批量删除岗位（API名称：position/batchDeletePosition）
#### 功能介绍
批量删除岗位。
#### 相关接口
| **接口名称**                                                             | **调用说明**                                                     |
|:---|:---|
| [获取Token](https://support.huaweicloud.com/api-isdp/api_01_0019.html) | 调用该接口获取到Token，再调用其他接口时，需要在请求消息头中添加"Authorization"，其值即为Token。 |
   
#### URL
| **请求方式** | **HTTPS地址**                                                   | **服务架构** | **消息体类型**        |
|:---|:---|:---|:---|
| POST     | https://***isdp+域名***/openapi/v1/position/batchDeletePosition | OpenAPI  | application/json |
   
#### 请求头
| **KEY**       | **VALUE**              | **是否必填** | **描述**                                                                                           |
|:---|:---|:---|:---|
| Content-Type  | application/json       | 是        | 无                                                                                                |
| Authorization | bearer ${access_token} | 是        | bearer +" "+[5.2.1](https://support.huaweicloud.com/api-isdp/api_01_0019.html)中获取的access_token的值 |
   
#### 请求参数
| **参数**        | **类型** | **是否必填** | **描述**                |
|:---|:---|:---|:---|
| positionCodes | String | 是        | 岗位编码（多个以逗号分隔，不能超过20个） |
   
#### 响应参数
| **参数**  | **类型** |       **描述**       |
|---|---|---|
| status  | String | 状态（failed/success） |
| msg     | String | 消息                 |
| data    | Object | 响应结果内容             |
| success | bool   | true/false         |
| failed  | bool   | true/false         |
   
data出参:
|     **参数**     | **类型** | **描述** |
|---|---|---|
| positionId     | Long   | 岗位id   |
| positionCode   | String | 岗位编码   |
| positionName   | String | 岗位名称   |
| orgId          | Long   | 组织单元id |
| positionFactor | String | 岗位系数   |
   
#### 请求示例
```
{
    "positionCodes": "h007996952,h007996951"
}
```
#### 响应示例
```
{
    "status": "success",
    "msg": null,
    "data": null,
    "success": true,
    "failed": false
}
```
