Method: subscriptions.delete

Google Workspace 구독을 삭제합니다. 이 방법을 사용하는 방법을 알아보려면 Google Workspace 구독 삭제를 참고하세요.

HTTP 요청

DELETE https://workspaceevents.googleapis.com/v1/{name=subscriptions/*}

URL은 gRPC 트랜스코딩 문법을 사용합니다.

경로 매개변수

매개변수
name

string

필수 항목입니다. 삭제할 정기 결제의 리소스 이름입니다.

형식: subscriptions/{subscription}

쿼리 매개변수

매개변수
validateOnly

boolean

선택사항입니다. true로 설정하면 요청을 검증하고 미리 보지만 정기 결제를 삭제하지는 않습니다.

allowMissing

boolean

선택사항입니다. true로 설정되어 있고 정기 결제를 찾을 수 없는 경우 요청은 성공하지만 정기 결제가 삭제되지는 않습니다.

etag

string

선택사항입니다. 정기 결제의 Etag입니다.

제공되는 경우 서버의 ETag와 일치해야 합니다. 그렇지 않으면 ABORTED 상태로 요청이 실패합니다.

요청 본문

요청 본문은 비어 있어야 합니다.

응답 본문

성공한 경우 응답 본문에 Operation의 인스턴스가 포함됩니다.

  • metadata 필드에 빈 배열이 포함되어 있습니다.
  • response 필드가 비어 있습니다.

승인 범위

다음 OAuth 범위 중 하나가 필요합니다.

  • https://www.googleapis.com/auth/chat.bot
  • https://www.googleapis.com/auth/chat.spaces
  • https://www.googleapis.com/auth/chat.spaces.readonly
  • https://www.googleapis.com/auth/chat.messages
  • https://www.googleapis.com/auth/chat.messages.readonly
  • https://www.googleapis.com/auth/chat.messages.reactions
  • https://www.googleapis.com/auth/chat.messages.reactions.readonly
  • https://www.googleapis.com/auth/chat.memberships
  • https://www.googleapis.com/auth/chat.memberships.readonly
  • https://www.googleapis.com/auth/meetings.space.created
  • https://www.googleapis.com/auth/meetings.space.readonly

자세한 내용은 승인 가이드를 참고하세요.