> ## Documentation Index
> Fetch the complete documentation index at: https://docs.collective.work/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete Users

> Delete imported users from My Talents



## OpenAPI

````yaml DELETE /my-talents/import
openapi: 3.0.1
info:
  title: Collective Work Job API
  description: API for managing job postings on the Collective Work platform
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api.collective.work/{environment}/v1
    description: Collective Work API server
    variables:
      environment:
        default: sandbox
        description: API environment
        enum:
          - sandbox
          - production
security:
  - bearerAuth: []
paths:
  /my-talents/import:
    delete:
      description: Delete imported users from My Talents
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MyTalentsDeleteDto'
      responses:
        '200':
          description: Users successfully deleted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MyTalentsDeleteResponseDto'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error400'
        '403':
          description: Invalid API key or missing required permission
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error403'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error500'
components:
  schemas:
    MyTalentsDeleteDto:
      type: object
      required:
        - internalUserIds
      properties:
        internalUserIds:
          type: array
          items:
            type: string
          description: >-
            Array of internal user identifiers to delete - these are the IDs
            from your system that were used when importing users
          example:
            - user-123
            - user-456
    MyTalentsDeleteResponseDto:
      type: object
      required:
        - deleted
        - notFound
      properties:
        deleted:
          type: array
          items:
            type: string
          description: List of internal user IDs that were successfully deleted
          example:
            - user-123
        notFound:
          type: array
          items:
            type: string
          description: >-
            List of internal user IDs that were not found (either never existed
            or belong to a different organization)
          example:
            - user-456
    Error400:
      type: object
      required:
        - message
        - error
        - statusCode
      properties:
        message:
          type: array
          items:
            type: string
        statusCode:
          type: integer
          example: 400
        error:
          type: string
          example: Bad Request
    Error403:
      type: object
      required:
        - message
        - error
        - statusCode
      properties:
        message:
          type: array
          items:
            type: string
        statusCode:
          type: integer
          example: 403
        error:
          type: string
          example: Forbidden
    Error500:
      type: object
      required:
        - message
        - error
        - statusCode
      properties:
        message:
          type: array
          items:
            type: string
          example:
            - Internal server error
        statusCode:
          type: integer
          example: 500
        error:
          type: string
          example: Internal Server Error
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        Your organization API key, available in [Organisation
        settings](https://app.collective.work/recruiter/organization/api).

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.