Hi Matthias
The role is 'category_id'.
You can get the relevant category_id from a GET on api path '/node_categories'.
Tony R
14.08.24 at 10:56am from Matthias Baer via PacketFence-users:
>I'm trying to set the role of a node to REJECT using the REST-API. However,
>according to the API docum
Hi,
I’m trying to set the role of a node to REJECT using the REST-API. However,
according to the API documentation, a PATCH or PUT request to
/api/v1/node/ doesn’t contain the role field. The only API endpoint
that seems to set roles to nodes is /api/v1/nodes/bulk_apply_role. But that
would se