Examples

POST /katello/api/package_groups
{
  "repository_id": 367202338,
  "name": "My_Group",
  "description": "My Group",
  "mandatory_package_names": [
    "katello-agent"
  ],
  "package_group": {
    "name": "My_Group",
    "description": "My Group"
  }
}
200
{
  "status": "success"
}

Params

Param name Description
repository_id
required

repository_id

Validations:

  • String

name
required

package group name

Validations:

  • String

description
optional

package group description. Defaults to params

Validations:

  • String

user_visible
optional

set “user_visible” flag on package group. Defaults to true

Validations:

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

mandatory_package_names
optional

mandatory package names to include in the package group

Validations:

  • Must be an array of any type

optional_package_names
optional

optional package names to include in the package group

Validations:

  • Must be an array of any type

conditional_package_names
optional

conditional package names to include in the package group

Validations:

  • Must be an array of any type

default_package_names
optional

default package names to include in the package group

Validations:

  • Must be an array of any type