deleteRetrievalDocument(projectReference: ID!, retrievalDocumentId: ID!, input: DeleteRetrievalDocumentInput): Deletion!
Requires project.knowledge.write; API keys also need delete scope.
Arguments
Input fields
input
Response
Returns Deletion!. Open the type for its fields and nested types.
Types marked with ! cannot be null. Lists use [Type] notation. The type index lists all published input and response types.
Example
mutation DeleteRetrievalDocument($projectReference: ID!, $retrievalDocumentId: ID!, $input: DeleteRetrievalDocumentInput) {
deleteRetrievalDocument(projectReference: $projectReference, retrievalDocumentId: $retrievalDocumentId, input: $input) {
ok
}
}{
"projectReference": "00000000-0000-4000-8000-000000000001",
"retrievalDocumentId": "00000000-0000-4000-8000-000000000001"
}