Documentation Index
Fetch the complete documentation index at: https://docs.sacul.cloud/llms.txt
Use this file to discover all available pages before exploring further.
Path Parameters
The name of the bucket containing the file.
The current full path to the file.
Must be set to application/json.
Query Parameters
If true, overwrite destination if it exists.
Body
You must provide either newName or newKey in the JSON body.
New filename (keeps the same folder).
Full destination path (can move across folders).
Response
Indicates whether the operation was successful.
A descriptive message of the operation result.
The new full destination path of the file.
curl --request PATCH \
--url https://cdn.sacul.cloud/my-bucket/old-path.txt \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"newName": "new-path.txt"
}'
{
"success": true,
"message": "Renamed old-path.txt to new-path.txt",
"newKey": "new-path.txt"
}