Learn how Wristband patch requests work.
Wristband APIs that support the HTTP PATCH method allow for partial updates (following the JSON Merge Patch specification). With partial updates, you only need to pass the fields you want to modify. Any fields left out will retain their original values.
For example, to update a user's middle name using the Patch User API, your request body would look like:
{
"middleName": "Jerry"
}
Deleting Field Values
To delete a field value, you must explicitly set the field to null
. For example, to delete a user's middle name using the Patch User API, you'd send a request like the following:
{
"middleName": null
}