Examples

PUT /katello/api/content_views/419082953/bulk_delete_versions
{
  "key_content_view_id": 419082953,
  "key_environment_id": 562075838,
  "system_content_view_id": 419082953,
  "system_environment_id": 562075838,
  "bulk_content_view_version_ids": {
    "included": {
      "ids": [
        234564707
      ]
    }
  },
  "content_view": {}
}
202
{
  "id": null,
  "label": null,
  "pending": null,
  "username": null,
  "started_at": null,
  "ended_at": null,
  "state": null,
  "result": null,
  "progress": null,
  "input": null,
  "output": {},
  "humanized": null,
  "cli_example": null,
  "available_actions": {
    "cancellable": null,
    "resumable": null
  }
}

Params

Param name Description
included
required

Versions to exclusively include in the action

Validations:

  • Hash

included[search]
optional , nil allowed

Search string for versions to perform an action on

Validations:

  • String

included[ids]
optional , nil allowed

List of versions to perform an action on

Validations:

  • Must be an array of any type

excluded
required

Versions to explicitly exclude in the action. All other versions will be included in the action, unless an included parameter is passed as well.

Validations:

  • Hash

excluded[ids]
optional , nil allowed

List of versions to exclude and not run an action on

Validations:

  • Must be an array of any type

id
required

content view numeric identifier

Validations:

  • Must be a 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.