For the complete documentation index, see llms.txt. This page is also available as Markdown.

Show Ansible inventory groups

Show an individual inventory's groups.

get
Path parameters
orgstring · min: 1 · max: 128Required

Org is the organisation identifier.

Example: ik
projectstring · min: 1 · max: 128Required

Project is the project identifier.

Example: c5
identifierstringRequired

Inventory identifier

Example: Et est fugiat.
Query parameters
limitinteger · int64 · min: 1 · max: 1000Optional

Limit is the number of records to return for a page.

Default: 30Example: 30
pageinteger · int64 · min: 1Optional

Page is the page number to return relative to the page 'limit'.

Default: 1Example: 1
Header parameters
Harness-Accountstring · min: 1 · max: 128Required

Account is the internal customer account ID.

Example: r
Responses
200

OK response.

application/json
get/api/orgs/{org}/projects/{project}/ansible/inventory/{identifier}/groups
GET /api/orgs/{org}/projects/{project}/ansible/inventory/{identifier}/groups HTTP/1.1
Host: localhost:80
Harness-Account: r
Accept: */*
{
  "groups": [
    "Placeat incidunt error.",
    "Enim molestiae molestiae et quidem deleniti ut."
  ]
}

Last updated

Was this helpful?