Box Developer Documentation
 

    Update Folder

    Update Folder

    To update a folder in Box you will need to call the following API.

    cURL
    curl -i -X PUT "https://api.box.com/2.0/folders/4353455" \
         -H "authorization: Bearer <ACCESS_TOKEN>" \
         -H "content-type: application/json" \
         -d '{
           "name": "New folder name"
         }'

    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.

    Timeout

    Timeout for this operation is 60 seconds. The operation will complete after a HTTP 503 has been returned.