GET /api/hosts/:host_id/puppetclass_ids
Список всех кодов классов Puppet для узла

Параметры

Имя параметра Описание
location_id
необязательно

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
необязательно

Set the current organization context for the request

Validations:

  • Must be a Integer


POST /api/hosts/:host_id/puppetclass_ids
Добавить класс Puppet к узлу

Параметры

Имя параметра Описание
location_id
необязательно

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
необязательно

Set the current organization context for the request

Validations:

  • Must be a Integer

host_id
обязательно

Код узла

Validations:

  • Must be a String

puppetclass_id
обязательно

Код класса Puppet

Validations:

  • Must be a String


DELETE /api/hosts/:host_id/puppetclass_ids/:id
Удалить класс Puppet из узла

Параметры

Имя параметра Описание
location_id
необязательно

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
необязательно

Set the current organization context for the request

Validations:

  • Must be a Integer

host_id
обязательно

Код узла

Validations:

  • Must be a String

id
обязательно

Код класса Puppet

Validations:

  • Must be a String