Renames an existing document in a room.
Authentication
No authentication required.
Path Parameters
The unique identifier of the room containing the document.
The unique identifier of the document to rename.
Body Parameters
The new name for the document.
Response
Returns 200 on successful document rename.
Error Responses
500 - Internal server error occurred while renaming the document.
Example Request
curl -X PUT \
https://api.planttogether.com/room/abc123/document/doc456/rename \
-H "Content-Type: application/json" \
-d '{
"new_document_name": "updated-document-name"
}'
Example Response