Rename files

Rename the file with the value given in the body

Rename a file

PUT /file/{uuid}/name

API Permissions

FILE_RENAME

Body

{
    "name":"birds352.jpg"
}

Try it out

Request

Copy-paste the cURL request in your Terminal or click on the API Explorer tab to see the API in action.

host: 'https://api.filerobot.com' path: '/fusqadtm/file/{file_uuid}/name' variables: file_uuid: 17225f23-bd83-5a28-b0ed-24c7ce950000 headers: X-Filerobot-Key: 19692813e7364ef8ad6a6504d50a12ca theme: clouds-midnight editor_theme: clouds_midnight method: PUT body: | { "name": "new_filename.jpg" } render: curl_tab: true

Response

{
    "status":"success",
    "action":"file_renamed",
    "file_uuid":"4045f60e-8a91-5039-bb4e-3d3d247056e9"
}