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

# Unmerge entities in bulk

> Makes previously merged entities independent again, named either directly with `ids` or by survivor with `survivorIds` to release everything merged into them. Ids that are not currently merged are skipped, so the same list can be re-sent safely.



## OpenAPI

````yaml https://api.mentionlab.io/api/docs-json post /api/entities/unmerge
openapi: 3.0.0
info:
  title: MentionLab Public API v0.3.4-rc
  description: ''
  version: 0.3.4-rc
  contact: {}
servers:
  - url: https://api.mentionlab.io
security: []
tags: []
paths:
  /api/entities/unmerge:
    post:
      tags:
        - Entities
      summary: Unmerge entities in bulk
      description: >-
        Makes previously merged entities independent again, named either
        directly with `ids` or by survivor with `survivorIds` to release
        everything merged into them. Ids that are not currently merged are
        skipped, so the same list can be re-sent safely.
      operationId: EntitiesRefController_bulkUnmerge
      parameters:
        - name: x-project-id
          in: header
          description: Project ID to specify the project context
          required: true
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BulkUnmergeEntitiesDto'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BulkUnmergeEntitiesResponse'
        '400':
          description: >-
            The request failed validation — the body, query or path parameters
            are malformed or out of range.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '401':
          description: The request is missing valid authentication credentials.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '403':
          description: >-
            The authenticated principal lacks the required permission, or access
            to the requested organisation/project.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
components:
  schemas:
    BulkUnmergeEntitiesDto:
      type: object
      properties:
        ids:
          description: >-
            Merged-away entity ids to make independent again. Ids that are not
            merged are skipped.
          example:
            - 019daf29-0000-7000-8000-0000000000b1
          type: array
          items:
            type: string
        survivorIds:
          description: >-
            Survivor ids. Everything currently merged into one of these is
            released. Combined with `ids` when both are given.
          example:
            - 019daf29-0000-7000-8000-0000000000a1
          type: array
          items:
            type: string
    BulkUnmergeEntitiesResponse:
      type: object
      properties:
        unmerged:
          type: number
          description: Entities made independent again.
          example: 128
        ids:
          description: The entities that were released.
          example:
            - 019daf29-0000-7000-8000-0000000000b1
          type: array
          items:
            type: string
      required:
        - unmerged
        - ids
    ApiErrorResponse:
      type: object
      properties:
        statusCode:
          type: number
          description: HTTP status code of the error.
          example: 400
        message:
          type: string
          description: >-
            Human-readable description of the error. Validation failures return
            an array of per-field validation errors instead of a single string.
          example: Validation failed
        error:
          type: string
          description: Short name of the HTTP error.
          example: Bad Request
      required:
        - statusCode

````