curl --request POST \
--url https://your-domain.com/api/client/v1/servers/{id}/files/rename \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"root": "/",
"files": [
{
"from": "<string>",
"to": "<string>"
}
]
}
'