get:
  operationId: listIdentityProfiles
  tags:
    - Identity Profiles
  summary: Identity Profiles list
  description: >-
    This returns a list of Identity Profiles based on the specified query parameters.

    A token with ORG_ADMIN or API authority is required to call this API to get a list of Identity Profiles.
  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 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, ne*


        **name**: *eq, ne*


        **priority**: *eq, ne*
    - 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: **id**, **name**, **priority**
  responses:
    '200':
      description: List of identityProfiles.
      content:
        application/json:
          schema:
            type: array
            items:
              $ref: '../schemas/IdentityProfile.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'
  security:
    - oauth2: [idn:identity-profile:read]

post:
  operationId: createIdentityProfile
  summary: Create an Identity Profile
  description: >-
    This creates an Identity Profile

    A token with ORG_ADMIN authority is required to call this API to create an Identity Profile.
  tags:
    - Identity Profiles
  requestBody:
    required: true
    content:
      application/json:
        schema:
          $ref: '../schemas/IdentityProfile.yaml'
  responses:
    '201':
      description: The created Identity Profile
      content:
        application/json:
          schema:
            $ref: '../schemas/IdentityProfile.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'
  security:
    - oauth2: [idn:identity-profile:create]

