Open mujx opened 7 years ago
Not to mention it makes it nearly impossible to troubleshoot as a client dev whether your pusher is being deleted or added successfully by the server. 200 OK just means it did something, but it is hard to tell what at a glance.
Another reason for this is that there's basically nowhere else in the protocol that we allow null
(cf #472)
The description of the
kind
parameter from the current version.I would suggest creating a new endpoint like
DELETE /pusher
to delete a pusher and be more explicit about the intend instead of hiding it inside an arbitrary parameter.