Skip to content

在产品中移除一个成员​

DELETE
/v2/ship/products/{product_id}/members/{member_id}
  • 用于按成员 id 从产品中移除一个成员。

授权

企业令牌
企业令牌获取流程
令牌 URLhttps://{rest_api_root}/v1/auth/token
作用域
  • pcp:write:ship:product
或
用户令牌
用户令牌获取流程
授权 URLhttps://{oauth2_root}/authorize
令牌 URLhttps://{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 时,该字段返回。

示例​

举报邮箱:abuse@worktile.com