Examples

PUT /katello/api/products/1073012828/repository_sets/content-123/disable
{
  "basearch": "x86_64",
  "releasever": "6Server",
  "repository_set": {
    "basearch": "x86_64",
    "releasever": "6Server"
  }
}
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
id
required

ID of the repository set to disable

Validations:

  • Must be a number.

repository_id
optional

ID of the repository within the set to disable

Validations:

  • Must be a number.

product_id
optional

ID of the product containing the repository set

Validations:

  • Must be a number.

basearch
optional

Basearch to disable

Validations:

  • String

releasever
optional

Releasever to disable

Validations:

  • String

organization_id
optional

organization identifier

Validations:

  • Must be a number.