Platform.api.patch

Hi, when i use what u wrote (assuming the method is: platform.api.patch(url, payload)) it returns:
{"error":{"message":"callback is not a function","code":500}}. Is there any other thing to consider?

Thanks for ur advice,