---
title: Move files
description: POST /nd/api/file/move: Move file interface description, including path, method, parameters and return information.
slug: api-post-nd-api-file-move
lang: en
category: File API
category_order: 8
order: 119
api_method: POST
api_path: /nd/api/file/move
api_label: Move files
keywords:
  - API
  - Move files
  - /nd/api/file/move
---

# Move files

| Properties | Values |
| --- | --- |
| HTTP method | `POST` |
| Interface path | `/nd/api/file/move` |
| Category | File API |

## Interface description

Interface path: `/nd/api/file/move`

HTTP method: `POST`


**HTTP method:** `POST`

#### POST request body parameters

Parameter name Comment (description)
file_ids Target file id array to be moved (required) string
target_id The target folder id that needs to be moved to (required) string
#### The return information is as follows

{"code":0,"success":true}

## Call instructions

- Before calling, you need to complete [Get token](api-post-api-token-do.md) or the corresponding login-free authentication, and carry `Authorization: Bearer <access_token>` in the request header.
- If there are differences in parameters and return fields due to deployment versions, the actual private cloud API documents and joint debugging results should prevail.
- Category: File API.
