Please find the document here:
​https://developer.rocket.chat/api/rest-api/methods/channels/rename​