Method: spaces.delete
이름이 지정된 스페이스를 삭제합니다. 항상 계층식 삭제를 실행합니다. 즉, 스페이스에 게시된 메시지, 스페이스의 멤버십과 같은 스페이스의 하위 리소스도 삭제됩니다. 예를 보려면 스페이스 삭제를 참고하세요.
다음 유형의 인증을 지원합니다.
HTTP 요청
DELETE https://chat.googleapis.com/v1/{name=spaces/*}
URL은 gRPC 트랜스코딩 문법을 사용합니다.
경로 매개변수
매개변수 |
name |
string
필수 항목입니다. 삭제할 스페이스의 리소스 이름입니다. 형식: spaces/{space}
|
쿼리 매개변수
매개변수 |
useAdminAccess |
boolean
선택사항입니다. true 인 경우 메서드는 사용자의 Google Workspace 관리자 권한을 사용하여 실행됩니다. 호출하는 사용자는 채팅 및 스페이스 대화 관리 권한이 있는 Google Workspace 관리자여야 합니다. chat.admin.delete OAuth 2.0 범위가 필요합니다.
|
응답 본문
성공하면 응답 본문은 빈 JSON 객체입니다.
승인 범위
다음 OAuth 범위 중 하나가 필요합니다.
https://www.googleapis.com/auth/chat.app.delete
https://www.googleapis.com/auth/chat.admin.delete
https://www.googleapis.com/auth/chat.import
https://www.googleapis.com/auth/chat.delete
자세한 내용은 승인 가이드를 참고하세요.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-01-22(UTC)
[null,null,["최종 업데이트: 2025-01-22(UTC)"],[[["This request permanently deletes a space and all its child resources, including messages and memberships."],["Authentication can be performed using app authentication (with administrator approval) or user authentication (including with administrator privileges using `useAdminAccess`)."],["The request requires the space's resource name in the URL path and can optionally use the `useAdminAccess` query parameter for administrator privileges."],["Requires specific OAuth scopes for authorization, such as `chat.app.delete` or `chat.admin.delete`, as detailed in the Authorization guide."]]],[]]