GET /api/hostgroups/:hostgroup_id/puppetclass_ids
列出主机组的所有 Puppet 类别


POST /api/hostgroups/:hostgroup_id/puppetclass_ids
在主机组中添加 Puppet 类别

参数

参数名字 描述
hostgroup_id
必填

主机组 ID

Validations:

  • Must be a String

puppetclass_id
必填

Puppet 类别 ID

Validations:

  • Must be a String


DELETE /api/hostgroups/:hostgroup_id/puppetclass_ids/:id
删除主机组的 Puppet 类别

参数

参数名字 描述
hostgroup_id
必填

主机组 ID

Validations:

  • Must be a String

id
必填

Puppet 类别 ID

Validations:

  • Must be a String