post:
  operationId: deleteIdentityProfiles
  tags:
    - Identity Profiles
  summary: Delete Identity Profiles
  description: >-
    This deletes multiple Identity Profiles via a list of supplied IDs.

    On success, this endpoint will return a reference to the bulk delete task result.

    A token with ORG_ADMIN authority is required to call this API to delete a list of Identity Profiles.
  requestBody:
    description: Identity Profile bulk delete request body.
    required: true
    content:
      application/json:
        schema:
          $ref: '../schemas/IdentityProfileBulkDelete.yaml'

  responses:
    '202':
      description: Accepted - Returned if the request was successfully accepted into the system.
      content:
        application/json:
          schema:
            $ref: '../../v3/schemas/BaseReferenceDto.yaml'
            description: An object with a TaskResult reference of the bulk delete job
    '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:delete]
