Examples

PUT /katello/api/products/1234/repository_sets/content-123/enable
{
  "basearch": "x86_64",
  "releasever": "6Server",
  "repository_set": {
    "basearch": "x86_64",
    "releasever": "6Server"
  }
}
404
{
  "displayMessage": "Could not find product resource with id 1234. Potential missing permissions: edit_products",
  "errors": [
    "Could not find product resource with id 1234. Potential missing permissions: edit_products"
  ]
}

Params

Param name Description
id
required

ID of the repository set to enable

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 enable

Validations:

  • String

releasever
optional

Releasever to enable

Validations:

  • String

organization_id
optional

organization identifier

Validations:

  • Must be a number.