PUT /katello/api/activation_keys/568942081
{
"organization_id": 114267492,
"activation_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 |
|---|---|
|
id required |
ID of the activation key Validations:
|
|
organization_id required |
organization identifier Validations:
|
|
name optional |
name Validations:
|
|
description optional |
description 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:
|