Examples

PUT /katello/api/content_views/419082953/remove
{
  "environment_ids": [
    292811013
  ],
  "key_content_view_id": 419082953,
  "key_environment_id": 1028819239,
  "content_view": {}
}
204

Params

Param name Description
id
required

content view numeric identifier

Validations:

  • Must be a number.

environment_ids
optional

environment numeric identifiers to be removed

Validations:

  • Must be an array of number

content_view_version_ids
optional

content view version identifiers to be deleted

Validations:

  • Must be an array of number

system_content_view_id
optional

content view to reassign orphaned systems to

Validations:

  • Must be a number.

system_environment_id
optional

environment to reassign orphaned systems to

Validations:

  • Must be a number.

key_content_view_id
optional

content view to reassign orphaned activation keys to

Validations:

  • Must be a number.

key_environment_id
optional

environment to reassign orphaned activation keys to

Validations:

  • Must be a number.

destroy_content_view
optional

delete the content view with all the versions and environments

Validations:

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