POST /katello/api/activation_keys { "organization_id": 114267492, "activation_key": { "name": "limited Key", "unlimited_hosts": false, "max_hosts": 0 } } 422 { "displayMessage": "Validation failed: Max hosts cannot be less than one", "errors": { "max_hosts": [ "cannot be less than one" ] } }
Param name | Description |
---|---|
organization_id
required |
organization identifier Validations:
|
name
required |
name Validations:
|
description
optional |
description Validations:
|
environment
optional |
environment Validations:
|
environment_id
optional |
environment id Validations:
|
content_view_id
optional |
content view id Validations:
|
max_hosts
optional |
maximum number of registered content hosts Validations:
|
unlimited_hosts
optional |
can the activation key have unlimited hosts Validations:
|
release_version
optional |
content release version Validations:
|
service_level
optional |
service level Validations:
|
auto_attach
optional |
auto attach subscriptions upon registration Validations:
|
purpose_usage
optional |
Sets the system purpose usage Validations:
|
purpose_role
optional |
Sets the system purpose usage Validations:
|
purpose_addons
optional |
Sets the system add-ons Validations:
|