PATCH request changes only the attributes you send. Anything you leave out keeps its current value. To clear an optional attribute, such as a workflow’s description, send null. Attributes that can’t be cleared, such as name, reject null with a 422.
An object attribute, such as a task’s input_parameters, replaces the stored object as a whole, so send all of it, including the keys you aren’t changing. A task’s event_trigger is the exception: only the keys you send change.