Sitemaps: delete
승인 필요
이 사이트에서 사이트맵을 삭제합니다.
지금 사용해 보기
요청
HTTP 요청
DELETE https://www.googleapis.com/webmasters/v3/sites/siteUrl/sitemaps/feedpath
매개변수
매개변수 이름 |
값 |
설명 |
경로 매개변수 |
feedpath |
string |
실제 사이트맵의 URL입니다. 예: http://www.example.com/sitemap.xml
|
siteUrl |
string |
Search Console에 정의된 속성의 URL입니다. 예를 들면 다음과 같습니다.
http://www.example.com/
(URL 접두사 속성)
또는 sc-domain:example.com
(도메인 속성).
|
승인
이 요청을 처리하려면 다음 범위의 승인이 필요합니다 (인증 및 승인 자세히 알아보기).
범위 |
https://www.googleapis.com/auth/webmasters |
요청 본문
이 메소드를 사용할 때는 요청 본문을 제공하지 마세요.
응답
요청에 성공한 경우 이 메소드는 빈 응답 본문을 반환합니다.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2024-08-29(UTC)
[null,null,["최종 업데이트: 2024-08-29(UTC)"],[[["Deletes a specified sitemap from a Google Search Console property using a `DELETE` request to the provided endpoint."],["Requires authorization with the `https://www.googleapis.com/auth/webmasters` scope to execute."],["The request needs `siteUrl` (property URL) and `feedpath` (sitemap URL) as path parameters."],["The method returns an empty response body upon successful deletion of the sitemap."]]],["This API method deletes a specified sitemap from a site in Search Console. It requires authorization via the `https://www.googleapis.com/auth/webmasters` scope. The `DELETE` request is sent to `https://www.googleapis.com/webmasters/v3/sites/siteUrl/sitemaps/feedpath`. The `feedpath` parameter defines the sitemap URL, and `siteUrl` specifies the site's URL as listed in Search Console. No request body is needed, and a successful deletion results in an empty response.\n"]]