Send a method such as PUT, PATCH, DELETE, or PURGE.
Section: Request Shaping
Use a custom HTTP method
bash
bash
curl -X DELETE https://example.com/resource/123Explanation
`-X` overrides the request method.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Request Shaping