Project

General

Profile

Actions

Bug #33227

open

Cannot pass organization name to global registration when generating registration command

Added by Eric Helms almost 3 years ago. Updated almost 3 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Host registration
Target version:
-
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

See https://github.com/theforeman/forklift/pull/1391#discussion_r674082105 for detailed discussion

I should be able to do the following as referencing organizations by name is pretty common:

curl https://admin:changeme@$HOSTNAME/api/registration_commands -X POST -H 'Content-Type: application/json' -d '{\"organization\":\"${ORGANIZATION}\"}'" 

Related issues 1 (1 open0 closed)

Related to Katello - Feature #33228: Allow generating global registration command via API through the use of Organization labelNewActions
Actions

Also available in: Atom PDF