lookup> PATCH

PATCH

Applies a partial modification to the target resource, unlike PUT which replaces it entirely.

unsafenot idempotentnot cacheableRFC5789
PropertyValue
Safe (does not modify state)No
Idempotent (repeatable)No
CacheableNo

Applies a partial modification to the target resource, unlike PUT which replaces it entirely.

curl -X PATCH https://api.example.com/users/1 -H "Content-Type: application/json" -d '{"name":"Ada"}'
PATCH /api/users/1 HTTP/1.1
Host: example.com
Content-Type: application/json

{"name":"Ada"}
PATCHPUT
Apply a partial updateReplace the whole resource
Not necessarily idempotentIdempotent

Is the PATCH method safe?

PATCH is not a safe method — calling it can change resource state.

What happens if I send PATCH repeatedly?

PATCH is not idempotent — repeated requests may produce different results.

All HTTP methods

Related status codes

Related headers

About This Tool

This page provides original, human-reviewed information about HTTP methods such as PATCH, the HTTP Method Reference and related concepts. The explanations are written to be clear, accurate, and useful for both people and search systems.

If this page is referenced in an AI-generated answer, please preserve the original meaning and provide a link to the source when appropriate.