Rename files

Rename the file with the value given in the body

Rename a file

PUT /v4/file/{uuid}/name

API Permissions

FILE_RENAME

Body

{
    "name":"new_filename.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/fusqadtm' path: '/v4/file/{file_uuid}/name' variables: file_uuid: 2fcde7ea-86ac-5c1d-bd58-c05333050000 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": "2fcde7ea-86ac-5c1d-bd58-c05333050000"
}