---
title: "Gives a new position to a file within its package."
method: POST
path: "/api/order_file"
tags: ["pyLoad REST"]
---

# Gives a new position to a file within its package.

`POST /api/order_file`

Gives a new position to a file within its package.

## Query parameters

- `file_id` integer, required
- `position` integer, required

## Response `200`

No response

---

[API](https://skmtc.net/pyload/apis/pyload-api-documentation-openapi.md) · [All operations](https://skmtc.net/pyload/apis/pyload-api-documentation-openapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pyload/pyload-api-documentation-openapi/versions/00b0770e3fa6/schema)
