Skip to main content
POST
Unlink Entities from Project

Unlink Entities from Project

Remove the association between entities and a project. The entities themselves are not deleted — they continue to exist at the organization level and can be re-linked to the same or different projects at any time.
New API: This endpoint is part of the new API architecture.

Request

Headers

string
required
Your API key for authenticationExample: sk_live_1234567890abcdef
string
required
Your organization UUIDExample: a8315ef3-dd50-43f8-b7ce-d839e68d51fa

Path Parameters

string
required
The UUID of the project to unlink entities fromExample: b7f2a1c3-4d5e-6f7a-8b9c-0d1e2f3a4b5c

Body Parameters

string
required
The type of entities being unlinked.Available values: logistic_requests, logistic_recharges, logistic_packages, invoices, file_readings
array[string]
required
List of entity UUIDs to unlink. Minimum 1, maximum 100 per request.Example: ["550e8400-e29b-41d4-a716-446655440000", "660e8400-e29b-41d4-a716-446655440001"]

Response

integer
Number of associations removed

Example

Successful Response

Common Errors

401 Unauthorized

Cause: Missing or invalid API key

403 Forbidden

Cause: The authenticated user is not a member of the organization

404 Not Found

Cause: The project does not exist or belongs to another organization

422 Unprocessable Entity

Cause: Invalid entity type or missing entity IDs

Link Entities

Link entities by ID to a project

Link by Filters

Bulk-link all entities matching a filter