Export Asset Groups

POST {{cb_url}}/asset_groups/v1/orgs/{{cb_org_key}}/groups/_export

Export Asset Groups that match specified criteria.

To receive the actual JSON or CSV results, you need to use the Job Service API. First, use the Get Job Details to get the status of the async job, then Download Job Output call to download the actual content.

RBAC Permissions Required

Permission (.notation name)Operation(s)
group-managementREAD

See Documentation

Request Schema

{
  "start": <integer>,
  "rows": <integer>,
  "query": "<string>",
  "criteria": {
    "discovered": [<boolean>],
    "name": ["<string>"],
    "policy_id": [<integer>],
    "group_id": ["<string>"],
  },
  "sort": [
    {
      "field": "<string>",
      "order": "<string>"
    }
  ],
  "format": "<string>"
}

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{&quot;job_id&quot;:6031024}