Knowledge
Delete sources
Delete source records and optionally delete the linked Articles in the same request.
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
Bearer token containing your Fini workspace API key. Format:
Bearer fini_... The key needs write scope.application/jsonBody parameters
Source IDs to delete.
Whether linked articles should be deleted too.
Response
Deleted source records.
Articles deleted because
deleteArticles was true.Errors
400 Bad Request
400 Bad Request
The request body is malformed,
documentIds is missing or empty, or one of the source IDs does not exist.401 Unauthorized
401 Unauthorized
403 Forbidden
403 Forbidden
The API key does not include the
write scope, or the source IDs belong to a different workspace.500 Internal Server Error
500 Internal Server Error
Fini failed while deleting one or more records. Retry once, then inspect the affected IDs in List sources.

