# 批量删除企业用户

# 简介

本接口用于批量删除企业用户(接口限量500条,返回成功表示已经接收成功,最终处理结果将通过回调接口返回)

# 服务提供方

享道

# 接口URL

/openapi/ent/users/del

# 请求方式

POST

# 请求频次

单次

# 请求参数

参数名称 类型 必选 说明
timestamp long 请求时间,Unix Timestamp单位毫秒
enterprise_id string 企业唯一标识
user_unique_ids list 用户唯一标识的字符列表
batch_no string 批次号

# 响应参数

参数名称 类型 必有 说明
retCode int 服务响应状态,参见附录5
retMsg string 服务响应状态说明,参见附录5
content object
content.success_count int 成功条数
content.failure_count int 失败条数
content.batch_no string 批次号

# 请求事例

请求

curl --location --request POST 'https://open-sit.saicmobility.com/merchant/v1/openapi/ent/users/del' \
--header 'X-Sign: 5e9745dea27fc8b7b4b90aa2565868c0ebf847fd' \
--header 'X-SignAlgorithm: 1' \
--header 'X-Timestamp: 20201020164300' \
--header 'X-MerchantId: open_xxx' \
--header 'Content-Type: application/json' \
--data-raw '{"enterprise_id":"222222","batch_no":"1","user_unique_ids":["xx","xxx","xxxx"],"timestamp":"1603183265876"}'

响应

{
  "retCode": 10000,
  "retMsg": "successful",
  "content": {
   "batch_no":"123" 
  }
}