WebResource: update
승인 필요
웹사이트 또는 도메인의 소유자 목록을 수정합니다.
지금 사용해 보기
사이트 확인 시스템에서 필요에 따라 소유자를 추가하거나 삭제하여 업데이트된 리소스에 제공된 소유자 목록과 일치시킵니다. 업데이트된 소유자 목록이 현재 소유자 목록과 동일한 경우 변경되지 않습니다.
목록에서 소유자를 삭제하기 전에 소유자와 연결된 모든 확인 토큰이 삭제되었는지 확인하세요. 그렇지 않으면 update를 호출하면 HTTP 400 Bad Request
오류가 발생합니다.
참고: 이 방법을 사용하여 인증된 사용자의 사이트 소유권 확인을 취소할 수 없습니다. 대신 delete 메서드를 사용하세요.
요청
HTTP 요청
PUT https://www.googleapis.com/siteVerification/v1/webResource/id
매개변수
매개변수 이름 |
값 |
설명 |
경로 매개변수 |
id |
string |
인증된 사이트 또는 도메인의 ID입니다.
|
승인
이 요청을 처리하려면 다음 범위의 승인이 필요합니다 (인증 및 승인 자세히 알아보기).
범위 |
https://www.googleapis.com/auth/siteverification |
요청 본문
요청 본문에 WebResource 리소스를 제공합니다.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2024-09-09(UTC)
[null,null,["최종 업데이트: 2024-09-09(UTC)"],[[["This method modifies the owner list of a website or domain, updating it to match the provided list."],["Removing an owner requires prior removal of their associated verification tokens to avoid errors."],["Unverifying your own site ownership must be done through a separate method, not this one."],["The request needs authorization with the `https://www.googleapis.com/auth/siteverification` scope."],["Upon success, the method returns the updated WebResource resource."]]],["This action updates a website or domain's owner list. The system will add or remove owners to match the provided list, but no changes occur if the list is unchanged. Before removing an owner, all associated verification tokens must be deleted, or a `400 Bad Request` error will occur. You cannot unverify the authenticated user via this method; use the `delete` method instead. This action is a `PUT` request and requires authorization. It updates the list by the provided `id` in the URL path.\n"]]