How do I delete a BitBucket file using the Java API in a plugin?

I have created a BitBucket plugin using the Atlas SDK and I am able to create a new file in a branch using the following code snippet:

Repository repository = repositoryService.getBySlug(project, repo);

final InputStream inputStream = new ByteArrayInputStream(repoFile.getContents().getBytes(StandardCharsets.UTF_8));

EditFileRequest request = new EditFileRequest.Builder(repoFile.getBranchName(), path, repository)
    .content(new MyInputSupplier(inputStream))
    .message(repoFile.getCommitMessage())
    .build();

contentService.editFile(request);

However, I am unable to find an equivalent API command that will allow me to delete a file in a specific branch.

Any help will be appreciated.