Get node's group and subgroups
GET/v1/admin/nodes/:nodeId/groups
Returns the group and subgroups that a node belongs to. If the node is not in any group, returns an empty group and empty sub_groups array. Only super admin users can call this endpoint.
Request
Responses
- 200
- 400
- 401
- 403
- 500
Node group info retrieved successfully
Bad request
Unauthorized - Invalid or missing authentication
Forbidden - User does not have permission to access the resource
Internal server error