Skip to main content
PATCH

Overview

Updates a file’s display name. Send the new base name as name in JSON; the server keeps or appends the correct extension (e.g. "demo" becomes "demo.png").

Request body

Success body

Returns the updated file record — fields such as id, file_no, name, url, workspace_no, meta_data, and timestamps.

Next steps

File details

Fetch the full metadata for the renamed file.

Delete file

Permanently remove a file from your workspace.

Authorizations

x-api-key
string
header
required

API key for public endpoints. Can also be provided via Authorization: Bearer

Path Parameters

fileNo
string
required

Body

application/json
name
string
required

New file name without extension or path separators

Response

Renamed file

Renamed file

success
enum<boolean>
required
Available options:
true
data
object
required