Set the priority of every task given in the id list. Tasks the current user is not allowed to update are skipped.
PUT
/actions/tasks/set-priority
curl \
--request PUT 'http://api.example.com/actions/tasks/set-priority' \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/json" \
--data '{"task_ids":["a24a6ea4-ce75-4665-a070-57453082c25","b24a6ea4-ce75-4665-a070-57453082c25"],"priority":2}'
Request examples
{
"task_ids": [
"a24a6ea4-ce75-4665-a070-57453082c25",
"b24a6ea4-ce75-4665-a070-57453082c25"
],
"priority": 2
}
Response examples (200)
[
{}
]