open-balena-api
open-balena-api copied to clipboard
Patching should_be_managed_by__supervisor_release to null returns 500
The following request produces a 500:
curl 'https://api.balena-cloud.com/v6/device?$filter=uuid%20eq%20%<uuid>%27' -X PATCH \
-H 'authorization: Bearer <token>' \
-H 'content-type: application/json' \
--data-raw '{"should_be_managed_by__supervisor_release":null}'
I understand setting this to null may not be allowed but I think the 500 caused was not intended.
curl 'https://api.balena-cloud.com/v6/device?$filter=uuid%20eq%20%<uuid>%27' -X PATCH \
-H 'authorization: Bearer <token>' \
-H 'content-type: application/json' \
--data-raw '{"should_be_managed_by__release":null}'
does not throw 500 and works..the difference being that I am nulling should_be_managed_by__release
rather then should_be_managed_by__supervisor_release
[zoobot] This has attached https://jel.ly.fish/1b02413f-c75a-44e9-9fe9-783a6068ba90