--- title: DELETE slug: Web/HTTP/Methods/DELETE tags: - HTTP - Reference - Request method translation_of: Web/HTTP/Methods/DELETE ---
{{HTTPSidebar}}

HTTP DELETE 메서드는 지정한 리소스를 삭제합니다.

요청에 본문 존재 May
성공 응답에 본문 존재 May
{{Glossary("Safe", "안전함")}} No
{{Glossary("Idempotent", "멱등성")}} Yes
{{Glossary("Cacheable", "캐시 가능")}} No
HTML 양식에서 사용 가능 No

구문

DELETE /file.html HTTP/1.1

예제

요청

DELETE /file.html HTTP/1.1

응답

DELETE 메서드를 성공적으로 적용한 후에 사용할 수 있는 응답 상태 코드는 다음과 같이 몇 가지가 있습니다.

HTTP/1.1 200 OK
Date: Wed, 21 Oct 2015 07:28:00 GMT

<html>
  <body>
    <h1>File deleted.</h1>
  </body>
</html>

명세

명세 제목
{{RFC("7231", "DELETE", "4.3.5")}} Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content

브라우저 호환성

{{Compat("http.methods.DELETE")}}

같이 보기