Good evening, @dani9706 ...
I am not sure if you are an instructor or a student, but here are the two Guides that tell you how to edit your name:
As you'll note in these Guides, it may not be possible for you to edit your name on your own...as this information may be brought in from your school's SIS (Student Information System). If this is the case for you, I would recommend reaching out to your school's local Canvas administrator or someone from your school's Online Learning/eLearning department to see if they might be able to assist you with this request.
I hope this will be of help to you. Sing out if you have any other questions...thanks! Take care, stay safe, and be well.