delete method
Deletes a file on the backend.
Throws an ApiException if the deletion fails.
Implementation
Future<void> delete(String filePath) async {
await _apiClient.delete(
_objectPath(filePath),
headers: _session.authenticationHeaders,
);
}