post:
  operationId: addAccessRequestRecommendationsIgnoredItem
  tags:
    - IAI Access Request Recommendations
  summary: Notification of Ignored Access Request Recommendations
  description: >-
    This API ignores a recommended access request item.
    Once an item is ignored, it will be marked as ignored=true if it is still a recommended item.
    The consumer can decide to hide ignored recommendations.
  requestBody:
    description: The recommended access item to ignore for an identity.
    required: true
    content:
      application/json:
        schema:
          $ref: '../../beta/schemas/AccessRequestRecommendationActionItemDto.yaml'
  responses:
    '201':
      description: Recommendation successfully stored as ignored.
      content:
        application/json:
          schema:
            $ref: '../../beta/schemas/AccessRequestRecommendationActionItemResponseDto.yaml'
    '400':
      $ref: '../../v3/responses/400.yaml'
    '401':
      $ref: '../../v3/responses/401.yaml'
    '403':
      $ref: '../../v3/responses/403.yaml'
    '429':
      $ref: '../../v3/responses/429.yaml'
    '500':
      $ref: '../../v3/responses/500.yaml'
get:
  operationId: getAccessRequestRecommendationsIgnoredItems
  tags:
    - IAI Access Request Recommendations
  summary: List of Ignored Access Request Recommendations
  description: >-
    This API returns the list of ignored access request recommendations.
  parameters:
    - $ref: '../../v3/parameters/limit.yaml'
    - $ref: '../../v3/parameters/offset.yaml'
    - $ref: '../../v3/parameters/count.yaml'
    - in: query
      name: filters
      schema:
        type: string
      description: >-
        Filter recommendations 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:


        **access.id**: *eq, in*


        **access.type**: *eq, in*


        **identityId**: *eq, in*
    - in: query
      name: sorters
      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: **access.id, access.type, identityId, timestamp**
  responses:
    '200':
      description: Returns list of ignored access request recommendations.
      content:
        application/json:
          schema:
            type: array
            items:
              $ref: '../../beta/schemas/AccessRequestRecommendationActionItemResponseDto.yaml'
    '400':
      $ref: '../../v3/responses/400.yaml'
    '401':
      $ref: '../../v3/responses/401.yaml'
    '403':
      $ref: '../../v3/responses/403.yaml'
    '429':
      $ref: '../../v3/responses/429.yaml'
    '500':
      $ref: '../../v3/responses/500.yaml'