List Cloud Account Names - POST
Returns a list of cloud account IDs and names.
Query Parameters
- onlyActive boolean
Returns IDs and names of active accounts only. Default is false.
- cloudType string
Returns IDs and names of accounts that belong to the specified cloudType and accountGroup
- includeOthers boolean
Returns none cloudAccount and none cloudAccountId in response if includeOthers is true
- application/json
Request Body required
Cloud Account Groups
- accountGroupIds string[]
List of account group IDs
- accountIds string[]
List of account IDs
- aggregate boolean
true = aggregate
- cloudType string
- csvHeaderRequired boolean
- filterKey string
Filter key
- filterValue string
Filter value
- groupBy string
Group items by this value
- limit int32
Limit of items per request. Default is 1000.
timeRange object
See the Time Range Model for details.
- oneOf
- RelativeTimeRangeConfigModel
- AbsoluteTimeRangeConfigModel
- ToNowTimeRangeConfigModel
relativeTimeType stringPossible values: [
BACKWARD
,FORWARD
]Direction in which to count time. Default = BACKWARD
type stringvalue object required
Model for RelativeTimeDuration
amount int32Number of time units
unit stringPossible values: [
minute
,hour
,day
,week
,month
,year
]Time unit
type stringvalue object required
Model for Time
endTime int64End timestamp
startTime int64Start timestamp
value stringPossible values: [
MINUTE
,HOUR
,DAY
,WEEK
,MONTH
,YEAR
,EPOCH
,LOGIN
]Time range object
type string requiredPossible values: [
absolute
,relative
,to_now
]Time type
- absolute
- relative
- to_now
type stringvalue object required
Model for Time
endTime int64End timestamp
startTime int64Start timestamp
relativeTimeType stringPossible values: [
BACKWARD
,FORWARD
]Direction in which to count time. Default = BACKWARD
type stringvalue object required
Model for RelativeTimeDuration
amount int32Number of time units
unit stringPossible values: [
minute
,hour
,day
,week
,month
,year
]Time unit
value stringPossible values: [
MINUTE
,HOUR
,DAY
,WEEK
,MONTH
,YEAR
,EPOCH
,LOGIN
]Time range object
- oneOf
- 200
successful operation
- application/json; charset=UTF-8
- Schema
- Example (from schema)
Schema
- Array [
- cloudType string
Possible values: [
ALL
,AWS
,AZURE
,GCP
,ALIBABA_CLOUD
,OCI
,IBM
]Cloud Type of Account/ Project/ Master Service Account/ Organization
- id string
ID of Account/ Project/ Master Service Account/ Organization
- name string
Name of Account/ Project/ Master Service Account/ Organization
- parentAccountName string
Parent Org Name of Account/ Project
- ]
[
{
"cloudType": "ALL",
"id": "string",
"name": "string",
"parentAccountName": "string"
}
]