We need an API to assign alert profiles to the Enterprise to automate deployments of CFME.
This functionality exists in the UI under "Control->Explorer->Alert Profiles -> select an alert profile -> configuration -> edit assignments for this alert profile", but there's no API for it yet.
New commit detected on ManageIQ/manageiq-api/master:
Author: Jillian Tullo <email@example.com>
AuthorDate: Thu Mar 15 15:55:33 2018 -0400
Commit: Jillian Tullo <firstname.lastname@example.org>
CommitDate: Thu Mar 15 15:55:33 2018 -0400
Unassign alert definition profiles
app/controllers/api/alert_definition_profiles_controller.rb | 18 +
config/api.yml | 4 +
spec/requests/alert_definition_profiles_spec.rb | 52 +
3 files changed, 74 insertions(+)
FIXED. Verified on 220.127.116.11.20181106165157_92dd189.
Turns out you were right Gregg. I collected all tags via API and selected one at random("roles/change_managers") from the list. I'm still not sure why "roles/change_managers" did not work. I then selected one tag from the list on UI and it worked. Tested the tag "department/accounting" with both name and href, and it worked fine.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.