apiAiIndexOrgsOrgUsersUserIdDocumentsDocumentIdRetrieverDocumentsPut method
Future
apiAiIndexOrgsOrgUsersUserIdDocumentsDocumentIdRetrieverDocumentsPut(
- String? documentId,
- String? org,
- String? userId,
- Map body,
)
Implementation
Future<dynamic> apiAiIndexOrgsOrgUsersUserIdDocumentsDocumentIdRetrieverDocumentsPut(String? documentId, String? org, String? userId, Map body) async {
final response = await http.put(
Uri.parse('$dataBaseUrl/api/ai/index/orgs/$org/users/$userId/documents/$documentId/retriever_documents/'),
body: json.encode(body),
headers: _headers(),
);
return json.decode(response.body);
}