4xx Client Error
You're trying to change something, but you need to tell me what you expect it to look like first, so we don't accidentally overwrite someone else's changes.
Use 428 when the server requires the request to be conditional, usually to prevent lost updates.
PUT https://api.example.test/api/users/123428 Precondition Required
# Headers
Content-Type: application/json
# Body
{
"error": "precondition_required"
}Server requires If-Match header to prevent concurrent updates