Partially update a resource with JSON.
Section: HTTP Methods and APIs
PATCH JSON
bash
bash
curl -X PATCH https://api.example.com/v1/items/123 -H 'Content-Type: application/json' -d '{"status":"archived"}'Explanation
PATCH is used for partial updates.
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 HTTP Methods and APIs