PUT /katello/api/repositories/bulk/destroy
Destroy one or more repositories

Examples

PUT /katello/api/repositories/bulk/destroy
{
  "ids": [
    841753487,
    860533889
  ],
  "organization_id": 114267492,
  "repositories_bulk_action": {
    "ids": [
      841753487,
      860533889
    ],
    "organization_id": 114267492
  }
}
202
{
  "errors": [],
  "task": {
    "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
ids
required

List of repository ids

Validations:

  • Must be an array of any type


POST /katello/api/repositories/bulk/sync
Synchronize repository

Examples

POST /katello/api/repositories/bulk/sync
{
  "ids": [
    367202338,
    643402541
  ],
  "organization_id": 114267492,
  "repositories_bulk_action": {
    "ids": [
      367202338,
      643402541
    ],
    "organization_id": 114267492
  }
}
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
ids
required

List of repository ids

Validations:

  • Must be an array of any type


POST /katello/api/repositories/bulk/reclaim_space
Reclaim space from On Demand repositories

Examples

POST /katello/api/repositories/bulk/reclaim_space
{
  "ids": [
    841753487,
    860533889
  ],
  "organization_id": 114267492,
  "repositories_bulk_action": {
    "ids": [
      841753487,
      860533889
    ],
    "organization_id": 114267492
  }
}
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
ids
required

List of repository ids

Validations:

  • Must be an array of any type