Project

General

Profile

Actions

Support #2973

closed

REST API for editing a node's classes directly?

Added by Adan Saenz almost 11 years ago. Updated over 10 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
API
Target version:
-
Triaged:
Fixed in Releases:
Found in Releases:

Description

I recently installed Foreman, but noticed I don't see any direct way to edit the classes under a host/node.

I remember seeing something about making a host group for the individual classes and assigning that group to a host, but that seems like a "non-direct solution" to me.

Looking through the API docs, I see a PUT request to update a host, but I see nothing about the classes in its response.

Is it possible to update the classes for a host like that through the REST API? Am I just missing something?

Actions

Also available in: Atom PDF