Modify file name
POST /nd/api/file/rename
POST body parameters
| Parameter | Type | Description |
|---|---|---|
file_id |
string |
Required file ID |
name |
string |
New file name |
Response
Fields listed in the source: code, success.
Calling the Endpoint
Use Authorization: Bearer <access_token>. GET parameters belong in the URL query; normal business POST requests use JSON. Check HTTP status and then the business result. Confirm array serialization and ambiguous types with the deployment instead of inventing fields.