PUT /katello/api/activation_keys/568942081/content_override
{
"content_overrides": [
{
"content_label": "fedora",
"name": "enabled",
"value": true
},
{
"content_label": "fedora",
"value": 0
},
{
"content_label": "croissant",
"name": "mirrorlist",
"remove": true
},
{
"content_label": "crepe",
"name": "mirrorlist",
"remove": true
}
],
"activation_key": {}
}
400
{
"displayMessage": "Content label(s) \"croissant, crepe\" were not found in the Organization \"Empty Organization\"",
"errors": [
"Content label(s) \"croissant, crepe\" were not found in the Organization \"Empty Organization\""
]
}
| Param name | Description |
|---|---|
|
id
required |
ID of the activation key Validations:
|
|
content_overrides
optional |
Array of Content override parameters to be added in bulk Validations:
|
|
content_overrides[content_label]
required |
Label of the content Validations:
|
|
content_overrides[value]
optional |
Override value. Provide a boolean value if name is 'enabled' Validations:
|
|
content_overrides[name]
optional |
Override parameter key or name. Note if name is not provided the default name will be 'enabled' Validations:
|
|
content_overrides[remove]
optional |
Set true to remove an override and reset it to 'default' Validations:
|