Update File (Rename / Star)
Update File (Rename / Star)
Update File (Rename / Star)
Updates file properties such as renaming the file or marking it as starred.
Method: PUT
URL: {{base_url}}/files/{{file_id}}
This endpoint requires authentication.
Authorization header:Notes:
If your collection/folder already sets auth, this request can inherit auth.
Ensure {{access_token}} is a valid, non-expired token.
Set these variables at the environment or collection level:
Example request URL:
Send the request body as raw JSON.
Example body:
Notes:
You can update either field independently.
If name is provided, the file will be renamed.
If starred is provided, the file will be starred or unstarred.
A successful update typically returns HTTP 200 OK.
400 Bad Request
Invalid request body
Invalid file name format
401 Unauthorized / 403 Forbidden
Missing/invalid Authorization header
Expired {{access_token}}
404 Not Found
file_id does not existThis endpoint allows updating file metadata only.
It does not replace or re-upload the file content.
The name field only changes the display name of the file in the system.
The starred flag can be used to highlight important files for easier access.