Authorization: Bearer ********************
{ "name": "new_filename.jpg" }
curl --location --request PUT 'http://localhost:8080/file/8/rename' \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data-raw '{ "name": "new_filename.jpg" }'
{}