필수입니다. 삭제할 멤버십의 리소스 이름입니다. 채팅 앱은 사람 사용자 또는 자체 멤버십을 삭제할 수 있습니다. 채팅 앱은 다른 앱의 멤버십을 삭제할 수 없습니다.
사용자 멤버십을 삭제할 때는 chat.memberships 범위와 spaces/{space}/members/{member} 형식이 필요합니다. 이메일을 {member}의 별칭으로 사용할 수 있습니다. 예를 들어 spaces/{space}/members/example@gmail.com는 example@gmail.com가 Google Chat 사용자의 이메일인 경우입니다.
앱 멤버십을 삭제할 때는 chat.memberships.app 범위와 spaces/{space}/members/app 형식이 필요합니다.
형식: spaces/{space}/members/{member} 또는 spaces/{space}/members/app
쿼리 매개변수
매개변수
useAdminAccess
boolean
선택사항입니다. true인 경우 메서드는 사용자의 Google Workspace 관리자 권한을 사용하여 실행됩니다.
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-02-27(UTC)"],[[["Deletes a specified membership from a Google Chat space, allowing removal of human users or Chat apps."],["Requires specific OAuth scopes depending on the type of membership being deleted and whether admin privileges are used."],["Supports app and user authentication, with an option for administrator approval in Developer Preview for app authentication."],["Uses a `DELETE` request with the membership's resource name specified in the path."],["Provides an optional `useAdminAccess` query parameter to utilize administrator privileges when deleting human memberships."]]],["This API action deletes a membership using a `DELETE` request to `https://chat.googleapis.com/v1/{name=spaces/*/members/*}`. It requires specifying the membership's resource name in the `name` path parameter. Deleting human memberships requires the `chat.memberships` scope, while deleting app memberships requires the `chat.memberships.app` scope. Administrators can use `useAdminAccess` query parameter to operate with elevated privileges. The request body should be empty, and a successful response returns a `Membership` instance. Necessary authorization scopes include `chat.app.memberships`, `chat.admin.memberships`, `chat.import`, `chat.memberships`, and `chat.memberships.app`.\n"]]