The REST CLEAR statement creates an empty JSON document im memory, which deletes the document left by the recent REST TRANSACT statement.
REST CLEAR
REST CLEAR is commonly used to prepare a JSON document from scratch with the POST or PATCH HTTP methods.
POST
PATCH