Method: properties.delete
타겟 속성을 소프트 삭제 (예: '휴지통')로 표시하고 반환합니다.
이 API에는 소프트 삭제된 속성을 복원하는 메서드가 없습니다. 하지만 휴지통 UI를 사용하여 복원할 수 있습니다.
만료 시간 전에 속성이 복원되지 않으면 속성과 모든 하위 리소스 (예: GoogleAdsLinks, Streams, AccessBindings)가 영구적으로 삭제됩니다. https://support.google.com/analytics/answer/6154772
타겟을 찾을 수 없는 경우 오류를 반환합니다.
HTTP 요청
DELETE https://analyticsadmin.googleapis.com/v1beta/{name=properties/*}
URL은 gRPC 트랜스코딩 문법을 사용합니다.
경로 매개변수
매개변수 |
name |
string
필수 항목입니다. 조용히 삭제할 속성의 이름입니다. 형식: properties/{property_id} 예: 'properties/1000'
|
응답 본문
성공한 경우 응답 본문에 Property
의 인스턴스가 포함됩니다.
승인 범위
다음 OAuth 범위가 필요합니다.
https://www.googleapis.com/auth/analytics.edit
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-01-14(UTC)
[null,null,["최종 업데이트: 2025-01-14(UTC)"],[[["This API allows you to mark a Google Analytics 4 property as soft-deleted, essentially moving it to the trash."],["Soft-deleted properties can be restored through the Trash Can UI before they are permanently purged."],["The API requires a `DELETE` request with the property ID specified in the path parameter."],["An empty request body is necessary, and a successful deletion returns the `Property` object."],["To use this API, you need the `https://www.googleapis.com/auth/analytics.edit` authorization scope."]]],[]]