# 说明
删除用户组
# url
https://api.tapd.cn/roles/delete
# 支持格式
JSON/XML(默认JSON格式)
# HTTP请求方式
POST
# 请求参数
| 字段名 | 必选 | 类型及范围 | 说明 | 特殊规则 |
|---|---|---|---|---|
| workspace_id | 是 | integer | 项目ID | |
| id | 是 | integer | 用户组ID |
# 调用示例及返回结果
# 删除用户组
# curl 使用 Basic Auth 鉴权调用示例
curl -u 'api_user:api_password' --request POST -H 'Content-Type: application/json' --data-raw '{"workspace_id":64123431,"id":11641530620012321357}' 'https://api.tapd.cn/roles/delete'
# 返回结果
{
"status": 1,
"data": {
"result": true
},
"info": "success"
}
1
2
3
4
5
6
7
2
3
4
5
6
7
# 返回字段说明
| 字段 | 说明 |
|---|---|
| result | 执行结果 |