get:
  operationId: listCompletedApprovals
  summary: Completed Access Request Approvals List
  tags:
    - Access Request Approvals
  description: >-
    This endpoint returns list of completed approvals. See *owner-id* query
    parameter below for authorization info.
  parameters:
    - in: query
      name: owner-id
      required: false
      schema:
        type: string
      description: >-
        If present, the value returns only completed approvals for the specified
        identity.
           * ORG_ADMIN users can call this with any identity ID value.
           * ORG_ADMIN users can also fetch all the approvals in the org, when
        owner-id is not used.
           * Non-ORG_ADMIN users can only specify *me* or pass their own
        identity ID value.
      example: 2c91808568c529c60168cca6f90c1313
    - $ref: "../parameters/limit.yaml"
    - $ref: "../parameters/offset.yaml"
    - $ref: "../parameters/count.yaml"
    - in: query
      name: filters
      required: false
      schema:
        type: string
      description: >-
        Filter results using the standard syntax described in [V3 API Standard
        Collection
        Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results)


        Filtering is supported for the following fields and operators:


        **id**: *eq, in*


        **requestedFor.id**: *eq, in*


        **modified**: *gt, lt, ge, le*
      example: id eq "2c91808568c529c60168cca6f90c1313"
    - in: query
      name: sorters
      required: false
      schema:
        type: string
        format: comma-separated
      description: >-
        Sort results using the standard syntax described in [V3 API Standard
        Collection
        Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results)


        Sorting is supported for the following fields: **created, modified**
      example: modified
  responses:
    "200":
      description: List of Completed Approvals.
      content:
        application/json:
          schema:
            type: array
            items:
              $ref: "../schemas/CompletedApproval.yaml"
    "400":
      $ref: "../responses/400.yaml"
    "401":
      $ref: "../responses/401.yaml"
    "403":
      $ref: "../responses/403.yaml"
    "429":
      $ref: "../responses/429.yaml"
    "500":
      $ref: "../responses/500.yaml"
