post:
  operationId: deleteNonEmployeeRecordsInBulk
  # security:
  #   - oauth2: [idn:nesr:delete]
  tags:
    - Non-Employee Lifecycle Management
  summary: Delete Multiple Non-Employee Records
  description: >-
    This request will delete multiple non-employee records based on the
    non-employee ids provided. Requires role context of `idn:nesr:delete`
  requestBody:
    description: Non-Employee bulk delete request body.
    required: true
    content:
      application/json:
        schema:
          type: object
          properties:
            ids:
              description: List of non-employee ids.
              type: array
              items:
                type: string
                format: uuid
              example:
                - 2b838de9-db9b-abcf-e646-d4f274ad4238
                - 2d838de9-db9b-abcf-e646-d4f274ad4238
          required:
            - ids
  responses:
    "204":
      $ref: "../responses/204.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"
