Closed grobotka closed 8 months ago
With the current firmware, it is best to create a special "null Job" without properties and PATCH its "id" into your SmartButton "job".
We will implement a simpler solution in one of the next releases. We will either support a PATCH {"job": null}
as you expected, or a DELETE /api/smartbuttons/{id}
.
Thanks, the empty job is exactly what I'm doing now.
Ok! So I'm going to close this issue. Feel free to open it again if you think it's necessary.
Hi,
How can I detach a Job from the SmartButton? The PATCH on api/smartbuttons/{id} with { "job": null } or {} does not work.