YugabyteDB Customer management API

The Customer management API from YugabyteDB — 4 operation(s) for customer management.

Documentation

Specifications

Other Resources

🔗
CLI
https://github.com/yugabyte/ybm-cli
🔗
Integrations
https://github.com/yugabyte/terraform-provider-ybm
🔗
TermsOfService
https://www.yugabyte.com/yugabytedb-managed-service-terms/
🔗
SDKs
https://github.com/yugabyte/platform-go-client
🔗
Integrations
https://github.com/yugabyte/terraform-provider-yba
🔗
Integrations
https://github.com/yugabyte/yugabyte-k8s-operator
🔗
KubernetesCRD
https://raw.githubusercontent.com/api-evangelist/yugabytedb/refs/heads/main/crd/yugabytedb-ybuniverse.yaml
🔗
KubernetesCRD
https://raw.githubusercontent.com/api-evangelist/yugabytedb/refs/heads/main/crd/yugabytedb-backup.yaml
🔗
KubernetesCRD
https://raw.githubusercontent.com/api-evangelist/yugabytedb/refs/heads/main/crd/yugabytedb-backup-schedule.yaml
🔗
KubernetesCRD
https://raw.githubusercontent.com/api-evangelist/yugabytedb/refs/heads/main/crd/yugabytedb-restore-job.yaml
🔗
KubernetesCRD
https://raw.githubusercontent.com/api-evangelist/yugabytedb/refs/heads/main/crd/yugabytedb-storage-config.yaml
🔗
KubernetesCRD
https://raw.githubusercontent.com/api-evangelist/yugabytedb/refs/heads/main/crd/yugabytedb-dr-config.yaml
🔗
KubernetesCRD
https://raw.githubusercontent.com/api-evangelist/yugabytedb/refs/heads/main/crd/yugabytedb-pitr-config.yaml
🔗
KubernetesCRD
https://raw.githubusercontent.com/api-evangelist/yugabytedb/refs/heads/main/crd/yugabytedb-release.yaml
🔗
KubernetesCRD
https://raw.githubusercontent.com/api-evangelist/yugabytedb/refs/heads/main/crd/yugabytedb-support-bundle.yaml
🔗
KubernetesCRD
https://raw.githubusercontent.com/api-evangelist/yugabytedb/refs/heads/main/crd/yugabytedb-ybcertificate.yaml
🔗
KubernetesCRD
https://raw.githubusercontent.com/api-evangelist/yugabytedb/refs/heads/main/crd/yugabytedb-ybprovider.yaml
🔗
KubernetesCRD
https://raw.githubusercontent.com/api-evangelist/yugabytedb/refs/heads/main/crd/yugabytedb-ybplatform.yaml

OpenAPI Specification

yugabytedb-customer-management-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: YugabyteDB Aeon REST Access Keys Customer management API
  description: The YugabyteDB Aeon REST API provides programmatic access to YugabyteDB's fully managed cloud database service. Developers and operators can use it to deploy and manage database clusters, configure read replicas, schedule and execute on-demand backups and restores, manage IP allow lists, and set up monitoring and alerts. Authentication is performed using API keys passed as bearer tokens in the Authorization header. All paths are scoped to an account and project, which can be obtained from the YugabyteDB Aeon UI profile page.
  version: v1
  contact:
    name: Yugabyte Support
    url: https://support.yugabyte.com
  termsOfService: https://www.yugabyte.com/yugabytedb-managed-service-terms/
  x-generated-from: documentation
  x-source-url: https://api-docs.yugabyte.com/docs/managed-apis/
  x-last-validated: '2026-05-03'
servers:
- url: https://cloud.yugabyte.com/api/public/v1
  description: YugabyteDB Aeon Production Server
security:
- bearerAuth: []
tags:
- name: Customer management
paths:
  /api/v1/customers:
    get:
      operationId: ListOfCustomers
      parameters:
      - in: query
        name: request
        schema: {}
        example: example-request
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/Customer'
                type: array
              examples:
                ListOfCustomers200Example:
                  summary: Default ListOfCustomers 200 response
                  x-microcks-default: true
                  value:
                  - code: admin
                    customerId: 1
                    name: sridhar
                    creationDate: 2022-12-12 13:07:18+00:00
                    uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
          description: successful operation
      security:
      - apiKeyAuth: []
      summary: YugabyteDB Anywhere List Customers
      tags:
      - Customer management
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  /api/v1/customers/{cUUID}:
    delete:
      operationId: deleteCustomer
      parameters:
      - in: path
        name: cUUID
        required: true
        schema:
          format: uuid
          type: string
        example: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
      - in: query
        name: request
        schema: {}
        example: example-request
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/YBPSuccess'
              examples:
                DeleteCustomer200Example:
                  summary: Default deleteCustomer 200 response
                  x-microcks-default: true
                  value:
                    success: true
                    message: message
          description: successful operation
      security:
      - apiKeyAuth: []
      summary: YugabyteDB Anywhere Delete a Customer
      tags:
      - Customer management
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
    get:
      operationId: CustomerDetail
      parameters:
      - in: path
        name: cUUID
        required: true
        schema:
          format: uuid
          type: string
        example: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CustomerDetailsData'
              examples:
                CustomerDetail200Example:
                  summary: Default CustomerDetail 200 response
                  x-microcks-default: true
                  value:
                    code: admin
                    alertingData:
                      alertingEmail: test@example.com
                      statusUpdateIntervalMs: 1
                      checkIntervalMs: 6
                      reportOnlyErrors: true
                      sendAlertsToYb: true
                      activeAlertNotificationIntervalMs: 0
                    callhomeLevel: MEDIUM
                    customerId: 5
                    name: Sridhar
                    smtpData:
                      smtpServer: smtp.example.com
                      smtpUsername: testsmtp
                      smtpPort: 465
                      smtpPassword: XurenRknsc
                      emailFrom: test@example.com
                      useTLS: false
                      useSSL: true
                    creationDate: 2022-12-12 13:07:18+00:00
                    universeUUIDs: '["c3595ca7-68a3-47f0-b1b2-1725886d5ed5", "9e0bb733-556c-4935-83dd-6b742a2c32e6"]'
                    uuid: uuid
          description: successful operation
      security:
      - apiKeyAuth: []
      summary: YugabyteDB Anywhere Get a Customer's Details
      tags:
      - Customer management
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
    put:
      operationId: UpdateCustomer
      parameters:
      - in: path
        name: cUUID
        required: true
        schema:
          format: uuid
          type: string
        example: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
      - in: query
        name: request
        schema: {}
        example: example-request
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CustomerAlertData'
            examples:
              UpdateCustomerRequestExample:
                summary: Default UpdateCustomer request
                x-microcks-default: true
                value:
                  features:
                    key: '{}'
                  password: XurenRknsc
                  code: code
                  alertingData:
                    alertingEmail: test@example.com
                    statusUpdateIntervalMs: 1
                    checkIntervalMs: 6
                    reportOnlyErrors: true
                    sendAlertsToYb: true
                    activeAlertNotificationIntervalMs: 0
                  callhomeLevel: callhomeLevel
                  name: Test alert
                  confirmPassword: XurenRknsc
                  smtpData:
                    smtpServer: smtp.example.com
                    smtpUsername: testsmtp
                    smtpPort: 465
                    smtpPassword: XurenRknsc
                    emailFrom: test@example.com
                    useTLS: false
                    useSSL: true
                  email: test@example.com
        description: Customer data to be updated
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Customer'
              examples:
                UpdateCustomer200Example:
                  summary: Default UpdateCustomer 200 response
                  x-microcks-default: true
                  value:
                    code: admin
                    customerId: 1
                    name: sridhar
                    creationDate: 2022-12-12 13:07:18+00:00
                    uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
          description: successful operation
      security:
      - apiKeyAuth: []
      summary: YugabyteDB Anywhere Update a Customer
      tags:
      - Customer management
      x-codegen-request-body-name: Customer
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  /api/v1/customers/{cUUID}/host_info:
    get:
      operationId: getHostInfo
      parameters:
      - in: path
        name: cUUID
        required: true
        schema:
          format: uuid
          type: string
        example: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
      responses:
        '200':
          content:
            application/json:
              schema:
                additionalProperties:
                  properties: {}
                  type: object
                type: object
              examples:
                GetHostInfo200Example:
                  summary: Default getHostInfo 200 response
                  x-microcks-default: true
                  value: {}
          description: successful operation
      security:
      - apiKeyAuth: []
      summary: YugabyteDB Anywhere Get a Customer's Host Info
      tags:
      - Customer management
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  /api/v1/customers/{cUUID}/metrics:
    post:
      description: YbaApi Internal.
      operationId: metrics
      parameters:
      - in: path
        name: cUUID
        required: true
        schema:
          format: uuid
          type: string
        example: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
      - in: query
        name: request
        schema: {}
        example: example-request
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MetricQueryParams'
            examples:
              MetricsRequestExample:
                summary: Default metrics request
                x-microcks-default: true
                value:
                  streamId: streamId
                  metricsWithSettings:
                  - timeAggregation: DEFAULT
                    metric: metric
                    aggregatedValueFunction: DEFAULT
                    splitCount: 6
                    nodeAggregation: DEFAULT
                    splitMode: NONE
                    returnAggregatedValue: true
                    splitType: NONE
                  - timeAggregation: DEFAULT
                    metric: metric
                    aggregatedValueFunction: DEFAULT
                    splitCount: 6
                    nodeAggregation: DEFAULT
                    splitMode: NONE
                    returnAggregatedValue: true
                    splitType: NONE
                  start: 1
                  availabilityZones:
                  - availabilityZones
                  - availabilityZones
                  nodePrefix: nodePrefix
                  xclusterConfigUuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
                  nodeNames:
                  - nodeNames
                  - nodeNames
                  tableName: tableName
                  regionCodes:
                  - regionCodes
                  - regionCodes
                  serverType: MASTER
                  clusterUuids:
                  - 046b6c7f-0b8a-43b9-b35d-6489e6daee91
                  - 046b6c7f-0b8a-43b9-b35d-6489e6daee91
                  tableId: tableId
                  end: 0
                  recharts: true
                  metrics:
                  - metrics
                  - metrics
        description: Metrics to be added
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                additionalProperties:
                  properties: {}
                  type: object
                type: object
              examples:
                Metrics200Example:
                  summary: Default metrics 200 response
                  x-microcks-default: true
                  value: {}
          description: successful operation
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/YBPError'
              examples:
                Metrics400Example:
                  summary: Default metrics 400 response
                  x-microcks-default: true
                  value:
                    success: false
                    requestUri: /customers/8918921-af3782-633de/universe/8173ab-fd2453/create
                    error: There was a problem creating the universe
                    httpMethod: POST
                    errorJson: '{ "foo" : "bar", "baz" : [1, 2, 3] }'
                    requestJson: '{ "foo" : "bar", "baz" : [1, 2, 3] }'
          description: When request fails validations.
      security:
      - apiKeyAuth: []
      summary: YugabyteDB Anywhere Add Metrics to a Customer
      tags:
      - Customer management
      x-codegen-request-body-name: Metrics
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
components:
  schemas:
    CustomerDetailsData:
      description: Customer details, including their universe UUIDs. Only the customer code and name are modifiable.
      example:
        code: admin
        alertingData:
          alertingEmail: test@example.com
          statusUpdateIntervalMs: 1
          checkIntervalMs: 6
          reportOnlyErrors: true
          sendAlertsToYb: true
          activeAlertNotificationIntervalMs: 0
        callhomeLevel: MEDIUM
        customerId: 5
        name: Sridhar
        smtpData:
          smtpServer: smtp.example.com
          smtpUsername: testsmtp
          smtpPort: 465
          smtpPassword: XurenRknsc
          emailFrom: test@example.com
          useTLS: false
          useSSL: true
        creationDate: 2022-12-12 13:07:18+00:00
        universeUUIDs: '["c3595ca7-68a3-47f0-b1b2-1725886d5ed5", "9e0bb733-556c-4935-83dd-6b742a2c32e6"]'
        uuid: uuid
      properties:
        alertingData:
          $ref: '#/components/schemas/AlertingData'
        callhomeLevel:
          description: Call-home level
          example: MEDIUM
          readOnly: true
          type: string
        code:
          description: Customer code
          example: admin
          type: string
        creationDate:
          description: Creation timestamp
          example: 2022-12-12 13:07:18+00:00
          format: date-time
          readOnly: true
          type: string
        customerId:
          description: Customer ID
          format: int32
          readOnly: true
          type: integer
          example: 100
        name:
          description: Customer name
          example: Sridhar
          type: string
        smtpData:
          $ref: '#/components/schemas/SmtpData'
        universeUUIDs:
          description: Associated universe IDs
          example: '["c3595ca7-68a3-47f0-b1b2-1725886d5ed5", "9e0bb733-556c-4935-83dd-6b742a2c32e6"]'
          items:
            format: uuid
            type: string
          readOnly: true
          type: array
        uuid:
          description: User UUID
          readOnly: true
          type: string
          example: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
      required:
      - code
      - name
      type: object
    MetricQueryParams:
      description: Metrics request data
      example:
        streamId: streamId
        metricsWithSettings:
        - timeAggregation: DEFAULT
          metric: metric
          aggregatedValueFunction: DEFAULT
          splitCount: 6
          nodeAggregation: DEFAULT
          splitMode: NONE
          returnAggregatedValue: true
          splitType: NONE
        - timeAggregation: DEFAULT
          metric: metric
          aggregatedValueFunction: DEFAULT
          splitCount: 6
          nodeAggregation: DEFAULT
          splitMode: NONE
          returnAggregatedValue: true
          splitType: NONE
        start: 1
        availabilityZones:
        - availabilityZones
        - availabilityZones
        nodePrefix: nodePrefix
        xclusterConfigUuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
        nodeNames:
        - nodeNames
        - nodeNames
        tableName: tableName
        regionCodes:
        - regionCodes
        - regionCodes
        serverType: MASTER
        clusterUuids:
        - 046b6c7f-0b8a-43b9-b35d-6489e6daee91
        - 046b6c7f-0b8a-43b9-b35d-6489e6daee91
        tableId: tableId
        end: 0
        recharts: true
        metrics:
        - metrics
        - metrics
      properties:
        availabilityZones:
          description: YbaApi Internal. Availability zone code
          items:
            type: string
          type: array
          example:
          - us-east-1a
        clusterUuids:
          description: YbaApi Internal. Cluster UUIDs
          items:
            format: uuid
            type: string
          type: array
          example:
          - 046b6c7f-0b8a-43b9-b35d-6489e6daee91
        end:
          description: YbaApi Internal. End time
          format: int64
          type: integer
          example: 1000
        metrics:
          description: YbaApi Internal. Metrics
          items:
            type: string
          type: array
          example:
          - example-metrics
        metricsWithSettings:
          description: YbaApi Internal. List of metrics with custom settings
          items:
            $ref: '#/components/schemas/MetricSettings'
          type: array
          example:
          - timeAggregation: DEFAULT
            metric: metric
            aggregatedValueFunction: DEFAULT
            splitCount: 6
            nodeAggregation: DEFAULT
            splitMode: NONE
            returnAggregatedValue: true
            splitType: NONE
        nodeNames:
          description: YbaApi Internal. Node names
          items:
            type: string
          type: array
          example:
          - example-nodeNames
        nodePrefix:
          description: YbaApi Internal. Node prefix
          type: string
          example: node-1
        recharts:
          type: boolean
          example: true
        regionCodes:
          description: YbaApi Internal. Region code
          items:
            type: string
          type: array
          example:
          - us-east-1
        serverType:
          description: YbaApi Internal. Server type
          enum:
          - MASTER
          - TSERVER
          - CONTROLLER
          - YQLSERVER
          - YSQLSERVER
          - REDISSERVER
          - EITHER
          type: string
          example: MASTER
        start:
          description: YbaApi Internal. Start time
          format: int64
          type: integer
          example: 1000
        streamId:
          description: YbaApi Internal. Stream id
          type: string
          example: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
        tableId:
          description: YbaApi Internal. Table id
          type: string
          example: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
        tableName:
          description: YbaApi Internal. Table name
          type: string
          example: example-tableName
        xclusterConfigUuid:
          format: uuid
          type: string
          example: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
      required:
      - recharts
      - start
      - xclusterConfigUuid
      type: object
    AlertingData:
      description: Alerting configuration
      example:
        alertingEmail: test@example.com
        statusUpdateIntervalMs: 1
        checkIntervalMs: 6
        reportOnlyErrors: true
        sendAlertsToYb: true
        activeAlertNotificationIntervalMs: 0
      properties:
        activeAlertNotificationIntervalMs:
          description: Period, which is used to send active alert notifications
          format: int64
          type: integer
          example: 1000
        alertingEmail:
          description: Alert email address
          example: test@example.com
          type: string
        checkIntervalMs:
          description: Alert interval, in milliseconds
          format: int64
          type: integer
          example: 1000
        reportOnlyErrors:
          description: Trigger an alert only for errors
          type: boolean
          example: true
        sendAlertsToYb:
          description: Send alerts to YB as well as to customer
          type: boolean
          example: true
        statusUpdateIntervalMs:
          description: Status update of alert interval, in milliseconds
          format: int64
          type: integer
          example: 1000
      type: object
    CustomerAlertData:
      description: Format of an alert, used by the API and UI to validate data against input constraints
      example:
        features:
          key: '{}'
        password: XurenRknsc
        code: code
        alertingData:
          alertingEmail: test@example.com
          statusUpdateIntervalMs: 1
          checkIntervalMs: 6
          reportOnlyErrors: true
          sendAlertsToYb: true
          activeAlertNotificationIntervalMs: 0
        callhomeLevel: callhomeLevel
        name: Test alert
        confirmPassword: XurenRknsc
        smtpData:
          smtpServer: smtp.example.com
          smtpUsername: testsmtp
          smtpPort: 465
          smtpPassword: XurenRknsc
          emailFrom: test@example.com
          useTLS: false
          useSSL: true
        email: test@example.com
      properties:
        alertingData:
          $ref: '#/components/schemas/AlertingData'
        callhomeLevel:
          type: string
          example: example-callhomeLevel
        code:
          description: Alert code
          type: string
          example: OK
        confirmPassword:
          description: Email password confirmation
          example: XurenRknsc
          type: string
        email:
          description: Alert email address
          example: test@example.com
          type: string
        features:
          additionalProperties:
            properties: {}
            type: object
          description: Features
          type: object
          example: {}
        name:
          description: Alert name
          example: Test alert
          type: string
        password:
          description: Email password
          example: XurenRknsc
          type: string
        smtpData:
          $ref: '#/components/schemas/SmtpData'
      required:
      - alertingData
      - callhomeLevel
      - smtpData
      type: object
    YBPError:
      description: Generic error response from the YugabyteDB Anywhere API
      example:
        success: false
        requestUri: /customers/8918921-af3782-633de/universe/8173ab-fd2453/create
        error: There was a problem creating the universe
        httpMethod: POST
        errorJson: '{ "foo" : "bar", "baz" : [1, 2, 3] }'
        requestJson: '{ "foo" : "bar", "baz" : [1, 2, 3] }'
      properties:
        error:
          description: User-visible unstructured error message
          example: There was a problem creating the universe
          type: string
        errorJson:
          description: User visible structured error message as json object
          example: '{ "foo" : "bar", "baz" : [1, 2, 3] }'
          properties: {}
          type: object
        httpMethod:
          description: Method for HTTP call that resulted in this error
          example: POST
          type: string
        requestJson:
          description: User request JSON object
          example: '{ "foo" : "bar", "baz" : [1, 2, 3] }'
          properties: {}
          type: object
        requestUri:
          description: URI for HTTP request that resulted in this error
          example: /customers/8918921-af3782-633de/universe/8173ab-fd2453/create
          type: string
        success:
          description: Always set to false to indicate failure
          example: false
          type: boolean
      type: object
    YBPSuccess:
      example:
        success: true
        message: message
      properties:
        message:
          description: API response message.
          readOnly: true
          type: string
          example: Example message
        success:
          description: API operation status. A value of true indicates the operation was successful.
          readOnly: true
          type: boolean
          example: true
      type: object
    SmtpData:
      description: SMTP configuration information
      example:
        smtpServer: smtp.example.com
        smtpUsername: testsmtp
        smtpPort: 465
        smtpPassword: XurenRknsc
        emailFrom: test@example.com
        useTLS: false
        useSSL: true
      properties:
        emailFrom:
          description: SMTP email 'from' address
          example: test@example.com
          type: string
        smtpPassword:
          description: SMTP password
          example: XurenRknsc
          type: string
        smtpPort:
          description: SMTP port number
          example: 465
          format: int32
          type: integer
        smtpServer:
          description: SMTP server
          example: smtp.example.com
          type: string
        smtpUsername:
          description: SMTP email username
          example: testsmtp
          type: string
        useSSL:
          description: Connect to SMTP server using SSL
          example: true
          type: boolean
        useTLS:
          description: Connect to SMTP server using TLS
          example: false
          type: boolean
      type: object
    MetricSettings:
      description: Settings, selected for particular metric
      example:
        timeAggregation: DEFAULT
        metric: metric
        aggregatedValueFunction: DEFAULT
        splitCount: 6
        nodeAggregation: DEFAULT
        splitMode: NONE
        returnAggregatedValue: true
        splitType: NONE
      properties:
        aggregatedValueFunction:
          description: YbaApi Internal. Defines the method of metrics aggregation used to obtain additional aggregate time series. The provided aggregator wraps over the final query. Only applicable if `returnAggregatedValue = true`.
          enum:
          - DEFAULT
          - MIN
          - MAX
          - AVG
          - SUM
          type: string
          example: DEFAULT
        metric:
          description: YbaApi Internal. Metric name
          type: string
          example: example-metric
        nodeAggregation:
          description: YbaApi Internal. Top level aggregation for each metric line.
          enum:
          - DEFAULT
          - MIN
          - MAX
          - AVG
          - SUM
          type: string
          example: DEFAULT
        returnAggregatedValue:
          description: YbaApi Internal. Defines if we return additional aggregate time series (ex. avg, min) when we are selecting a subset of time series to return (ex. top K, bottom k).
          type: boolean
          example: true
        splitCount:
          description: YbaApi Internal. Defines how many node lines we return in case we split by nodes/tables/etc.
          format: int32
          type: integer
          example: 10
        splitMode:
          description: YbaApi Internal. Controls if we split nodes, tables, etc. into own lines OR aggregate  and how we select lines in case of split query
          enum:
          - NONE
          - TOP
          - BOTTOM
          type: string
          example: NONE
        splitType:
          description: YbaApi Internal. Defines set of labels, which we use for a split query
          enum:
          - NONE
          - NODE
          - TABLE
          - NAMESPACE
          type: string
          example: NONE
        timeAggregation:
          description: YbaApi Internal. Way of metrics aggregation over time
          enum:
          - DEFAULT
          - MIN
          - MAX
          - AVG
          type: string
          example: DEFAULT
      required:
      - metric
      type: object
    Customer:
      description: Customer information, including associated universes
      example:
        code: admin
        customerId: 1
        name: sridhar
        creationDate: 2022-12-12 13:07:18+00:00
        uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
      properties:
        code:
          description: Customer code
          example: admin
          type: string
        creationDate:
          description: Creation time
          example: 2022-12-12 13:07:18+00:00
          format: date-time
          readOnly: true
          type: string
        customerId:
          description: Customer ID
          example: 1
          format: int64
          readOnly: true
          type: integer
        name:
          description: Name of customer
          example: sridhar
          type: string
        uuid:
          description: Customer UUID
          format: uuid
          readOnly: true
          type: string
          example: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
      required:
      - code
      - name
      type: object
    CustomerDetailsData_2:
      description: Customer details, including their universe UUIDs. Only the customer code and name are modifiable.
      example:
        code: admin
        alertingData:
          alertingEmail: test@example.com
          statusUpdateIntervalMs: 1
          checkIntervalMs: 6
          reportOnlyErrors: true
          sendAlertsToYb: true
          activeAlertNotificationIntervalMs: 0
        callhomeLevel: MEDIUM
        customerId: 5
        name: Sridhar
        smtpData:
          smtpServer: smtp.example.com
          smtpUsername: testsmtp
          smtpPort: 465
          smtpPassword: XurenRknsc
          emailFrom: test@example.com
          useTLS: false
          useSSL: true
        creationDate: 2022-12-12 13:07:18+00:00
        universeUUIDs: '["c3595ca7-68a3-47f0-b1b2-1725886d5ed5", "9e0bb733-556c-4935-83dd-6b742a2c32e6"]'
        uuid: uuid
      properties:
        alertingData:
          $ref: '#/components/schemas/AlertingData_2'
        callhomeLevel:
          description: Call-home level
          example: MEDIUM
          readOnly: true
          type: string
        code:
          description: Customer code
          example: admin
          type: string
        creationDate:
          description: Creation timestamp
          example: 2022-12-12 13:07:18+00:00
          format: date-time
          readOnly: true
          type: string
        customerId:
          description: Customer ID
          format: int32
          readOnly: true
          type: integer
        name:
          description: Customer name
          example: Sridhar
          type: string
        smtpData:
          $ref: '#/components/schemas/SmtpData'
        universeUUIDs:
          description: Associated universe IDs
          example: '["c3595ca7-68a3-47f0-b1b2-1725886d5ed5", "9e0bb733-556c-4935-83dd-6b742a2c32e6"]'
          items:
            format: uuid
            type: string
          readOnly: true
          type: array
        uuid:
          description: User UUID
          readOnly: true
          type: string
      required:
      - code
      - name
      type: object
    MetricQueryParams_2:
      description: Metrics request data
      example:
        streamId: streamId
        metricsWithSettings:
        - timeAggregation: DEFAULT
          metric: metric
          aggregatedValueFunction: DEFAULT
          splitCount: 6
          nodeAggregation: DEFAULT
          splitMode: NONE
          returnAggregatedValue: true
          splitType: NONE
        - timeAggregation: DEFAULT
          metric: metric
          aggregatedValueFunction: DEFAULT
          splitCount: 6
          nodeAggregation: DEFAULT
          splitMode: NONE
          returnAggregatedValue: true
          splitType: NONE
        start: 1
        availabilityZones:
        - availabilityZones
        - availabilityZones
        nodePrefix: nodePrefix
        xclusterConfigUuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
        nodeNames:
        - nodeNames
        - nodeNames
        tableName: tableName
        regionCodes:
        - regionCodes
        - regionCodes
        serverType: MASTER
        clusterUuids:
        - 046b6c7f-0b8a-43b9-b35d-6489e6daee91
        - 046b6c7f-0b8a-43b9-b35d-6489e6daee91
        tableId: tableId
        end: 0
        recharts: true
        metrics:
        - metrics
        - metrics
      properties:
        availabilityZones:
          description: YbaApi Internal. Availability zone code
          items:
            type: string
          type: array
        clusterUuids:
          description: YbaApi Internal. Cluster UUIDs
          items:
            format: uuid
            type: string
          type: array
        end:
          description: YbaApi Internal. End time
          format: int64
          type: integer
        metrics:
          description: YbaApi Internal. Metrics
          items:
            type: string
          type: array
        metricsWithSettings:
          description: YbaApi Internal. List of metrics with custom settings
          items:
            $ref: '#/components/schemas/MetricSettings_2'
          type: array
        nodeNames:
          description: YbaApi Internal. Node names
          items:
            type: string
          type: array
        nodePrefix:
          

# --- truncated at 32 KB (47 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/yugabytedb/refs/heads/main/openapi/yugabytedb-customer-management-api-openapi.yml