Examples

PUT /katello/api/activation_keys/568942081
{
  "organization_id": 114267492,
  "activation_key": {
    "name": "New Name"
  }
}
204

Params

Param name Description
id
required

ID of the activation key

Validations:

  • Must be a number.

organization_id
required

organization identifier

Validations:

  • Must be a number.

name
optional

name

Validations:

  • String

description
optional

description

Validations:

  • String

environment_id
optional

environment id

Validations:

  • Must be a number.

content_view_id
optional

content view id

Validations:

  • Must be a number.

max_hosts
optional

maximum number of registered content hosts

Validations:

  • Must be a number.

unlimited_hosts
optional

can the activation key have unlimited hosts

Validations:

  • Must be one of: true, false, 1, 0.

release_version
optional

content release version

Validations:

  • String

service_level
optional

service level

Validations:

  • String

auto_attach
optional

auto attach subscriptions upon registration

Validations:

  • Must be one of: true, false, 1, 0.

purpose_usage
optional

Sets the system purpose usage

Validations:

  • String

purpose_role
optional

Sets the system purpose usage

Validations:

  • String

purpose_addons
optional

Sets the system add-ons

Validations:

  • Must be an array of any type