---
title: "Set sync priority"
method: POST
path: "/_api/repair/sync/priority/{priority}"
tags: ["Administration"]
---

# Set sync priority

`POST /_api/repair/sync/priority/{priority}`

## Request

- The document declares no server URL.
- Auth: one of:
  - API key in header `Authorization`
  - HTTP bearer
- TypeScript: <https://skmtc.dev/macrometa/apis/macrometa-api-reference/docs/_api/repair/sync/priority/:priority/post.ts> (a function with typed inputs; its response is checked against the schema)

Set sync priority.

## Path parameters

- `priority` integer, required

## Response `200`

Success.

## Other responses

- `403`: Failed to validate because you do not have access to the server.
- `404`: Returned if the sync operation is not running.
- `405`: Failed due to unsupported HTTP method.

---

[API](https://skmtc.dev/macrometa/apis/macrometa-api-reference.md) - [All operations](https://skmtc.dev/macrometa/apis/macrometa-api-reference/llms.txt) - [OpenAPI document](https://skmtc.dev/macrometa/apis/macrometa-api-reference/revisions/2006b6d7f31d?raw)
