Right when I clicked the course because I did not know what it was it automatically said I accepted an invite. I do not want their messages because it is my past school and I do not want anything to do with them.
HI . . Thank You for your question.
You will need to reach out to the instructor of the course and ask to be removed.
Here's a guide on how to use the Inbox facility in Canvas to send a message.
How do I send a message to a user in a course in the Inbox as a student?
Best of luck with your studies.
Retrieving data ...