Project

General

Profile

Bug #33227

Cannot pass organization name to global registration when generating registration command

Added by Eric Helms 11 months ago. Updated 11 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Host registration
Target version:
-
Difficulty:
Triaged:
Yes
Bugzilla link:
Pull request:
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

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

History

#1 Updated by Eric Helms 11 months ago

  • Related to Feature #33228: Allow generating global registration command via API through the use of Organization label added

#2 Updated by Leos Stejskal 11 months ago

  • Triaged changed from No to Yes

Also available in: Atom PDF