# Remap source files at organization level

Remaps the specified source files to a target library across the entire organization. This operation runs asynchronously and returns 202 Accepted with async process status. Requires exactly one of: targetLibraryUuid OR matchSuggestionId (not both, not neither). Request body fields: sourceFileUuids (required, array), targetLibraryUuid (conditional), matchSuggestionId (conditional), comment (optional), sendEmailNotification (optional, boolean).

Endpoint: POST /api/v3.0/orgs/{orgUuid}/dependencies/sourceFiles/remapping
Version: 3.0
Security: bearer-key

## Path parameters:

  - `orgUuid` (string, required)
    org UUID (from the Mend App: Administration General > Organization UUID).

## Request fields (application/json):

  - `targetLibraryUuid` (string)
    The UUID of the library to which source files should be remapped. Exactly one of targetLibraryUuid or matchSuggestionId must be provided
    Example: "123e4567-e89b-12d3-a456-426655440000"

  - `matchSuggestionId` (string)
    The Id of the library to which source files should be remapped. Exactly one of targetLibraryUuid or matchSuggestionId must be provided
    Example: "ZWJlMTZhZjYtMmE2YS00MWQ1LWFiNTQtYWQ3YWE3OWZhNzFl"

  - `sourceFileUuids` (array)
    Example: ["123e4567-e89b-12d3-a456-426655440000"]

  - `comment` (string)
    Optional user comment explaining the reason for this remapping action

  - `sendEmailNotification` (boolean)
    Whether to send email notification upon completion of the remapping operation
    Example: true

## Response 202 fields (application/json):

  - `uuid` (string)
    The unique identifier of the async process
    Example: "caf69794-9882-4b55-82db-6b6da4fe2a92"

  - `status` (string)
    The current status of the async process
    Enum: "PENDING", "IN_PROGRESS", "FAILED", "FAILURE", "SUCCESS"

  - `userEmail` (string)
    Email of the user who initiated the process
    Example: "user@example.com"

  - `requestToken` (string)
    Short token for tracking the request
    Example: "2cd6a43b"

## Response 400 fields (*/*):

  - `supportToken` (string)
    Example: "1171c60d"


