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/<node_id> 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 set the role for all nodes.

Any idea how I can set the role for a single node?

Cheers,
Matthias


_______________________________________________
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users
  • [PacketFence-users] API-Call t... Bär , Matthias via PacketFence-users

Reply via email to