在产品中移除一个成员
DELETE
/v2/ship/products/{product_id}/members/{member_id}
- 用于按成员 id 从产品中移除一个成员。
授权
企业令牌
企业令牌获取流程
令牌 URL
https://{rest_api_root}/v1/auth/token作用域
pcp:write:ship:product
或
用户令牌
用户令牌获取流程
授权 URL
https://{oauth2_root}/authorize令牌 URL
https://{rest_api_root}/v1/auth/token作用域
pcp:write:ship:product
参数
路径参数
product_id*
产品的 id。
类型
必填string
member_id*
企业成员或团队的 id。
类型
必填string
响应
响应示例:
application/json
产品成员的 id。
产品成员的资源地址。
所属产品的引用结构数据。
产品成员的类型。
企业成员的引用结构数据。当 type 为 user 时,该字段返回。
成员角色的引用结构数据。
团队的引用结构数据。当 type 为 user_group 时,该字段返回。
DELETE
/v2/ship/products/{product_id}/members/{member_id}