Update the name of a specific file. In other words, moves the file to a new location.
cURL
curl --request PUT \ --url https://api.fluxend.app/containers/{containerUUID}/files/{fileUUID}/rename \ --header 'Authorization: <authorization>' \ --header 'Content-Type: application/json' \ --header 'X-Project: <x-project>' \ --data '{ "full_file_name": "<string>", "projectUUID": "<string>" }'
{ "content": { "containerUuid": "<string>", "createdAt": "<string>", "createdBy": "<string>", "fullFileName": "<string>", "mimeType": "<string>", "size": 123, "updatedAt": "<string>", "updatedBy": "<string>", "uuid": "<string>" }, "errors": [ "<string>" ], "metadata": "<any>", "success": true }
Bearer Token
Project UUID
Container UUID
File UUID
New file name
The body is of type object.
object
File details
The response is of type object.