--- title: Modify file information description: POST /nd/api/file/update_file: Modify file information interface description, including path, method, parameters and return information. slug: api-post-nd-api-file-update-file lang: en category: File API category_order: 8 order: 111 api_method: POST api_path: /nd/api/file/update_file api_label: Modify file information keywords: - API - Modify file information - /nd/api/file/update_file --- # Modify file information `POST /nd/api/file/update_file` ## POST body parameters | Parameter | Type | Description | | --- | --- | --- | | `file_id` | `string` | Required file ID | | `name` | `string` | Optional new name | | `description` | `string` | Optional description | ## Response Fields listed in the source: `code`, `success`. ## Calling the Endpoint Use `Authorization: Bearer `. 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. [Authentication](developer-api-auth.md) ยท [API overview](developer-api-overview.md)