The only possible way to rename an endpoint is to duplicate an existing endpoint and change the name.
You need to reconfirm the password of any endpoints that was duplicated.
Renaming a Task Name:
The only way to rename a task is outline below:
Export the task
Edit the task name in the json file
Import the file as a new task
The reason for this is because the task name is used throughout the replicate environment from the task directory on disk to the internal SQLite DB entries, as well as in the target DB control tables so changing the name is very complex for the Replicate architecture.