Members
Preview a leave or removal
What DELETE /members/:id would do to Selected audiences: which current member would be added only where the audience would otherwise become empty, and per-resource-kind counts for all affected and reassigned audiences. Same authorization as the removal itself. Advisory only: nothing is locked, and the removal re-derives the replacement inside the transaction.
授权
bearerAuth 授权Bearer <token>
位置: header
路径参数
orgId*string
id*string
响应主体
application/json
application/json
application/json
curl -X GET "https://example.com/v1/orgs/string/members/string/removal-preview"{ "replacement": { "userId": "string", "email": "string", "name": "string", "picture": "string", "role": "owner", "isCurrentUser": true, "joinedAt": "string" }, "resources": [ { "kind": "agent", "selected": -9007199254740991, "reassigned": -9007199254740991 } ]}