Rename Folder

Rename Folder

To rename a folder in Box you will need to provide our API with a new name for the folder.

curl -i -X PUT "" \
     -H "authorization: Bearer <ACCESS_TOKEN>" \
     -H "content-type: application/json" \
     -d '{
       "name": "New folder name"
client.folders.update('12345', {name: 'New Name'}, callback);

Name restrictions

There are some restrictions to the folder name. Names containing non-printable ASCII characters, forward and backward slashes (/, \), as well as names with trailing spaces are prohibited.

Additionally, the names . and .. are reserved names and therefore also prohibited.