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