Actions
Bug #7511
closed"Error: activation_key not found" when trying to update an activation key
Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Hammer
Target version:
-
Description
Looks like when trying to update an activation key, the --name parameter doesn't work but the --id does.
<hammer>
$ hammer activation-key info --name key1 --organization-id 1
Name: key1
ID: 1
Description:
Lifecycle Environment: Dev
Content View: View1
Host Collections:
$ hammer activation-key update --name key1 --lifecycle-environment Library --content-view-id 1 --organization-id 1
Could not update the activation key:
Error: activation_key not found
$ hammer activation-key update --id key1 --lifecycle-environment Library --content-view-id 1 --organization-id 1
Activation key updated
Actions