Skip to main content
PUT
/
v1
/
projects
/
{PROJECT_ID}
/
lists
/
{LIST_ID}
/
tasks
/
{TASK_ID}
Update a Task
curl --request PUT \
  --url https://api.domo.com/v1/projects/{PROJECT_ID}/lists/{LIST_ID}/tasks/{TASK_ID} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": "3",
  "projectId": "2",
  "projectListId": "4",
  "taskName": "Project Scaffolding and Infrastructure",
  "priority": 3,
  "contributors": [
    27
  ],
  "tags": [],
  "archived": false
}
'
{
  "id": "3",
  "projectId": "2",
  "projectListId": "4",
  "taskName": "Project Scaffolding and Infrastructure",
  "createdDate": "2018-08-01T07:00:00Z",
  "updatedDate": "2018-08-01T08:00:00Z",
  "priority": 3,
  "createdBy": 27,
  "ownedBy": 27,
  "contributors": [
    27
  ],
  "attachmentCount": 0,
  "tags": [],
  "archived": false
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

PROJECT_ID
string
required

The ID of the project

LIST_ID
string
required

The ID of the list

TASK_ID
string
required

The ID of the task

Query Parameters

taskName
string

The name of the task

description
string

An optional description of the task

dueDate
string

The date the task is expected to be completed

priority
string

Priority of task within a list. Setting this property will impact the index of other tasks in the list to maintain sequential order.

ownedBy
string

The ID of the Domo user that owns the task

contributors
string

An array of user IDs that are assigned as contributors to the task

tags
string

An array of tags that have been assigned to the task

Body

application/json

The request body accepts a task object.

id
string
projectId
string
projectListId
string
taskName
string
priority
integer
contributors
integer[]
tags
object[]
archived
boolean

Response

200 - application/json

Returns the updated task object.

id
string
projectId
string
projectListId
string
taskName
string
createdDate
string
updatedDate
string
priority
integer
createdBy
integer
ownedBy
integer
contributors
integer[]
attachmentCount
integer
tags
object[]
archived
boolean