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-management | READ |
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
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"job_id":6031024}