Skip to main content
DELETE
Use this route to remove source records that no longer belong in the workspace.
Deleting a source removes the input record. It only deletes linked Articles if you explicitly set deleteArticles to true.

Headers

string
required
Bearer token containing your Fini workspace API key. Format: Bearer fini_... The key needs write scope.
string
required
application/json

Body parameters

array
required
Source IDs to delete.
boolean
default:false
Whether linked articles should be deleted too.

Response

array
Deleted source records.
array
Articles deleted because deleteArticles was true.

Errors

The request body is malformed, documentIds is missing or empty, or one of the source IDs does not exist.
The API key is missing, malformed, revoked, or invalid.
The API key does not include the write scope, or the source IDs belong to a different workspace.
Fini failed while deleting one or more records. Retry once, then inspect the affected IDs in List sources.