Method: accounts.delete
대상 계정을 조용히 삭제된 것으로 표시 (예: '휴지통')하고 반환합니다.
이 API에는 조용히 삭제된 계정을 복원하는 메서드가 없습니다. 하지만 휴지통 UI를 사용하여 복원할 수 있습니다.
만료 시간 전에 계정이 복원되지 않으면 계정과 모든 하위 리소스 (예: 속성, GoogleAdsLinks, 스트림, AccessBindings)가 영구적으로 삭제됩니다. https://support.google.com/analytics/answer/6154772
타겟을 찾을 수 없는 경우 오류를 반환합니다.
HTTP 요청
DELETE https://analyticsadmin.googleapis.com/v1alpha/{name=accounts/*}
URL은 gRPC 트랜스코딩 문법을 사용합니다.
경로 매개변수
매개변수 |
name |
string
필수 항목입니다. 조용히 삭제할 계정의 이름입니다. 형식: accounts/{account} 예: 'accounts/100'
|
응답 본문
성공하면 응답 본문은 빈 JSON 객체입니다.
승인 범위
다음 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 request soft-deletes a specified Google Analytics 4 account, essentially moving it to the trash."],["Soft-deleted accounts and their associated data are permanently deleted after a certain time period, unless restored through the Trash Can UI."],["The request requires the `analytics.edit` scope for authorization and uses a `DELETE` request with the account name as a path parameter."],["There's no specific API method to restore deleted accounts; restoration is handled via the Google Analytics UI."],["If the targeted account is not found, the request will return an error."]]],["This API endpoint soft-deletes an account via a `DELETE` request to `https://analyticsadmin.googleapis.com/v1alpha/{name=accounts/*}`, where `name` is the account identifier (e.g., \"accounts/100\"). The request body must be empty. A successful operation returns an empty JSON object, and the action requires the `https://www.googleapis.com/auth/analytics.edit` OAuth scope. Soft-deleted accounts are recoverable via the Trash Can UI but will be permanently purged after an expiration period if not restored. The API does not contain a method to restore an account. An error will be returned if the account is not found.\n"]]