Gitlab 403 Delete Error

I’m working on a MR pipeline script to automatically delete existing comments on an open MR using the gitlab python api. This is what I have so far:

notes = mr.notes.list(all=True)
for note in notes:
    note.delete()

When I run this script in the pipeline it returns a gitlab.exceptions.GitlabDeleteError: 403. i’m using my personal access token and have Developer access to the project. Is this functionality still supported in Gitlab?