Skip to main content

List Cloud Account Names - POST

POST 

/cloud/name

Returns a list of cloud account IDs and names.

Request

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

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 objectrequired

    See the Time Range Model for details.

    oneOf
    relativeTimeType string

    Possible values: [BACKWARD, FORWARD]

    Direction in which to count time. Default = BACKWARD

    type string
    value objectrequired

    Model for RelativeTimeDuration

    amount int32

    Number of time units

    unit string

    Possible values: [minute, hour, day, week, month, year]

    Time unit

    type stringrequired

    Possible values: [absolute, relative, to_now]

    Time type

    type string
    value objectrequired

    Model for Time

    endTime int64

    End timestamp

    startTime int64

    Start timestamp

Responses

successful operation

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

  • ]
Loading...