Example request
POST https://api.jupiter-erp.com/api/account/tasks/groups/example-id/sort
Code
curl -X POST 'https://api.jupiter-erp.com/api/account/tasks/groups/example-id/sort' \
-H 'Authorization: Bearer YOUR_API_TOKEN' \
-H 'X-Account-Uuid: YOUR_ACCOUNT_UUID' \
-H 'Accept: application/json' \
-H 'Content-Type: application/json' \
-d '{
"ordering": 0,
"task_ids": [
0
]
}'Parameters
| Name | In | Required | Description |
|---|---|---|---|
| groupId | path | yes | — |
Request body
Optional
| Field | Type | Description |
|---|---|---|
| ordering | integer | Set the target ordering index, all other tasks ordering will be incremented. |
| task_ids* | integer[] | array Elements integer |
Example request
{
"ordering": 0,
"task_ids": [
0
]
}Responses
204OK
No JSON schema documented.
Tasks