get:
  operationId: getAccountEntitlements
  tags:
    - Accounts
  summary: Account Entitlements
  description: >-
    This API returns entitlements of the account.  
  
    A token with ORG_ADMIN authority is required to call this API.
  security:
    - oauth2: [idn:accounts:read]
  parameters:
    - $ref: '../parameters/limit.yaml'
    - $ref: '../parameters/offset.yaml'
    - $ref: '../parameters/count.yaml'
    - in: path
      name: id
      schema:
        type: string
      required: true
      description: The account id
      example: ef38f94347e94562b5bb8424a56397d8
  responses:
    '200':
      description: An array of account entitlements
      content:
        application/json:
          schema:
            type: array
            items:
              $ref: '../schemas/EntitlementDto.yaml'
    '400':
      $ref: '../responses/400.yaml'
    '401':
      $ref: '../responses/401.yaml'
    '403':
      $ref: '../responses/403.yaml'
    '404':
      $ref: '../responses/404.yaml'
    '429':
      $ref: '../responses/429.yaml'
    '500':
      $ref: '../responses/500.yaml'
