Set the priority of each task of the list. The tasks that you cannot change are skipped. A manager can change the tasks of the project. A supervisor can change the tasks of their departments.
PUT
/actions/tasks/set-priority
curl \
--request PUT '/api/actions/tasks/set-priority' \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/json" \
--data '{
"task_ids": [
"a24a6ea4-ce75-4665-a070-57453082c250",
"b24a6ea4-ce75-4665-a070-57453082c250"
],
"priority": 2
}'
Request examples
{
"task_ids": [
"a24a6ea4-ce75-4665-a070-57453082c250",
"b24a6ea4-ce75-4665-a070-57453082c250"
],
"priority": 2
}
Response examples (200)
[
{}
]