Skip to content

Commit 1d3ca06

Browse files
RichardJECookeRichardJECooke
authored andcommitted
You can use an empty string instead of a null in a PATCH command to update the application in cases where Typescript does not allow nulls. Origin: FusionAuth/fusionauth-node-cli#8
1 parent 74b8512 commit 1d3ca06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/docs/v1/tech/apis/_patch-support.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ When using the PATCH method, you can either use the same request body documentat
1515
1616
When using the PATCH method, use the same request body documentation that is provided for the PUT request.
1717
The PATCH method will merge the provided request parameters into the existing object, this means all parameters are optional when using the PATCH method and you only provide the values you want changed.
18-
A `null` value can be used to remove a value.
18+
A `null` value, or an empty string in some cases, can be used to remove a value.
1919
Patching an `Array` will result in all values from the new list being appended to the existing list, this is a known limitation to the current implementation of PATCH.
2020
____
2121

0 commit comments

Comments
 (0)