Examples

POST /katello/api/products
{
  "product": {
    "name": "fedora product",
    "description": "this is my cool new product."
  },
  "organization_id": "asdfdsafds"
}
404
{
  "message": "Organization with id asdfdsafds not found"
}

Params

Param name Description
organization_id
required

ID of the organization

Validations:

  • Must be a number.

description
optional

Product description

Validations:

  • String

gpg_key_id
optional , nil allowed

Identifier of the GPG key

Validations:

  • Must be a number.

ssl_ca_cert_id
optional , nil allowed

Idenifier of the SSL CA Cert

Validations:

  • Must be a number.

ssl_client_cert_id
optional , nil allowed

Identifier of the SSL Client Cert

Validations:

  • Must be a number.

ssl_client_key_id
optional , nil allowed

Identifier of the SSL Client Key

Validations:

  • Must be a number.

sync_plan_id
optional , nil allowed

Plan numeric identifier

Validations:

  • Must be a number.

name
required

Product name

Validations:

  • String

label
optional

Validations:

  • String