---
title: "Sets the priority flag for a task."
method: POST
path: "/tasks/settaskpriority"
tags: ["tasks"]
---

# Sets the priority flag for a task.

`POST /tasks/settaskpriority`

<Check title="Required Permissions" icon="key">Any authenticated user.</Check>

## Headers

- `Authorization` string, required

## Request body

- TaskSetPrioForm
  - `taskId` string, uuid, required — The id of the task.
  - `isPrio` boolean — Priority flag of the task.

## Response `204`

No Content

- object

## Other responses

- `400` — Bad Request
- `404` — Not Found

---

[API](https://skmtc.net/awork-io/apis/api-v1-reference.md) · [All operations](https://skmtc.net/awork-io/apis/api-v1-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/awork-io/api-v1-reference/versions/f784a53f60df/schema)
