GET /api/hostgroups/:hostgroup_id/puppetclass_ids
호스트 그룹의 모든 Puppet 클래스 ID 나열

Examples

GET /api/hostgroups/636252244/puppetclass_ids
200
{
  "results": [
    980190962
  ]
}

Params

Param Name Description
location_id
Optional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
Optional

Set the current organization context for the request

Validations:

  • Must be a Integer


POST /api/hostgroups/:hostgroup_id/puppetclass_ids
호스트 그룹에 Puppet 클래스 추가

Examples

POST /api/hostgroups/636252244/puppetclass_ids
{
  "puppetclass_id": 281110143,
  "hostgroup_class": {
    "puppetclass_id": 281110143
  }
}
200
{
  "hostgroup_id": 636252244,
  "puppetclass_id": 281110143
}

Params

Param Name Description
location_id
Optional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
Optional

Set the current organization context for the request

Validations:

  • Must be a Integer

hostgroup_id
Required

호스트 그룹 ID

Validations:

  • Must be a String

puppetclass_id
Required

Puppet 클래스 ID

Validations:

  • Must be a String


DELETE /api/hostgroups/:hostgroup_id/puppetclass_ids/:id
호스트 그룹에서 Puppet 클래스 삭제

Examples

DELETE /api/hostgroups/636252244/puppetclass_ids/980190962
{
  "hostgroup_class": {}
}
200
[

]

Params

Param Name Description
location_id
Optional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
Optional

Set the current organization context for the request

Validations:

  • Must be a Integer

hostgroup_id
Required

호스트 그룹 ID

Validations:

  • Must be a String

id
Required

Puppet 클래스 ID

Validations:

  • Must be a String